When the negative battery terminal is disconnected, codes will be lost from PCM memory after 24 hours.