If close to state required emissions inspection, DO NOT RESET ANY ERROR CODE by battery disconnect or reader reset button. All this does is erase stored emissions parameters that keep the check engine light off as self test emissions are performed on every engine startup and drive. Any error related to emissions is automatically generated along with the CEL indicator. Resetting before state required emissions inspection will automatically fail because a drive cycle is needed to restore erased parameters, taking as much as 50 miles of varied local and highway traffic/speeds. If emissions inspection isn't part of your state inspection or won't occur for a few months, resetting may help but not if the error wasn't corrected. And then there are pending codes, correcting the error, turning off the cel indicator but pending for several drive cycles. A drive cycle is starting, driving, and shutdown. After several drive cycles and the error doesn't reappear, the code disappears automatically. Many readers do not differentiate between live and pending errors. Yours may be a pending error and won't go away until two more drive cycles.
Resetting, manual battery disconnect or reader reset, erases learned emissions parameters back to factory defaults. Coolant temps, intake air temp, map/maf/evap/O2 sensors are monitored and must output data within a range to meet emissions requirements. Each sensor outputs right from ignition on time, thru a driving cycle and memorized. This doesn't occur immediately, hence up to 50 miles of driving needed whether all done in one drive or several daily drives. Better readers display data as readiness monitors and can display which ones passed and which ones haven't until all pass with a reader indicating READY or NOT READY; telling the diyer the vehicle is ready for emissions inspection.