IF the actual problem is solved, disconnecting the battery should clear the light. If you live in an emissions test area here, it will still show up as a code when they plug you into their scanner. It takes some time for the code to disappear from the ECU even if it's deleted with a scan tool. I went through that getting an inspection done due to an 02 sensor code after I replaced the sensor and cleared the code. After driving a few times and a couple of hundred miles, all was good.