When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
If disconnecting the battery for a few minutes doesn't do it, then you will need to use a scan tool.
Also, with the battery disconnected, turn the key forward as if to start the engine. This really helps to drain the ECM/PCM to clear the codes since the starting loop would be energy drained as well.