Disconnecting the battery drains any residual charge and allows the system to fully reset. It's akin to rebooting a computer to resolve glitches.