The memory can hold 10 DTCs. However, when the same DTC is detected more than once, the more recent DTC is written over the earlier one. Therefore, when the same problem is detected repeatedly, it is memorized as a single DTC.
The DTCs are memorized in the EEPROM. Therefore, the memorized DTCs cannot be canceled by disconnecting the battery. Do the specified procedures to clear the DTCs.