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.