Why would a pacemaker stop working?
A pacemaker can go wrong if: the lead gets pulled out of position. the battery of the pulse generator fails. the circuits that control the pacemaker are damaged after being exposed to strong magnetic fields.