Here's what you should do:
1. Diagnose the problem: The CEL is a symptom, not the problem itself. You need to find out *why* the light is on. The most reliable way to do this is to:
* Use an OBD-II scanner: These inexpensive tools plug into your Wrangler's OBD-II port (usually under the dashboard) and read diagnostic trouble codes (DTCs). The DTCs will provide clues about the specific issue. Many smartphone apps can work with a Bluetooth OBD-II adapter.
* Take it to a mechanic: If you're uncomfortable using a scanner or interpreting the codes, a qualified mechanic can diagnose the problem and recommend repairs.
2. Fix the problem: Once you know the cause of the CEL, address it. This might involve:
* Replacing a faulty sensor (oxygen sensor, mass airflow sensor, etc.)
* Repairing a leak
* Tightening a loose connection
* More involved repairs (depending on the code)
3. After repairs, clear the code (if necessary): *Only* after the problem has been fixed should you attempt to clear the code. Many OBD-II scanners have a "clear codes" function. Sometimes, after fixing the problem, the light will turn off automatically after a few driving cycles. If not, then clear the codes with the scanner.
Warning: Simply disconnecting the battery for a short period *might* temporarily clear the CEL, but the light will likely reappear if the underlying problem hasn't been fixed. This is not a proper solution and should only be considered a last resort to check if the light is caused by a simple, temporary computer glitch. This is unlikely, however.
In short: Don't focus on resetting the light; focus on fixing the underlying issue that triggered it. This is crucial for the safe and reliable operation of your Jeep Wrangler.