Correct option is B
If the residual magnetism of a DC shunt generator is destroyed accidentally, it may be restored by connecting its shunt field to a DC source.
Residual magnetism is the small magnetic field left in the iron cores of the shunt field when the generator is at rest.