Battery Disconnect Precautions & Relearn Procedures: Driveability
When the ignition has been switched off, wait at least 5 minutes before cutting the power to the car. This is so that there is sufficient time for information to be stored in the ECM.
When the battery has been disconnected, the car may have to be driven for a few minutes before the engine runs normally. Some engine related Diagnostic Trouble Codes (DTCs) that may be set. Clear as necessary using scan tool.