Why do you disconnect battery cable?

because when the battery is connected it is like an on and off switch with the switch in the on position!