1. A method comprising: generating, by one or more stimulation generators of a medical device implanted in a patient, electrical stimulation for delivery to the patient; in response to detecting, by the medical device and while the medical device is operating in a disturb mode, magnetic fields generated by a magnetic resonance image (MRI) scanner, disturbing, by one or more components of the medical device, an image of the patient generated by the MRI scanner; in response to receiving, by a telemetry module of the medical device and from an external device, a request for the medical device to operate in an MRI mode, refraining, by the medical device, from disturbing the image; and operating, by the medical device, in the disturb mode when not operating in the MRI mode.