If your ECU controls the anti-theft system, disconnecting the battery may lock you out of your car. Like desktop computers and most other electronics, disconnecting the battery cable for a short period will not fully reset your ECU due to the residual power remaining in the circuits.