Simply disconnecting the battery for a short time might temporarily clear the light, but this won't fix the underlying issue, and the light will likely come back on. You'll need to:
1. Use an OBD-II scanner: This tool reads the diagnostic trouble codes (DTCs) stored in your car's computer. These codes tell you what problem the car has detected. You can buy a relatively inexpensive OBD-II scanner at most auto parts stores.
2. Address the problem: Once you know the DTC, you can diagnose and repair the problem yourself (if you have the skills and tools) or take it to a mechanic.
Resetting the light without fixing the issue is a bad idea as it masks a potential problem that could lead to more significant damage or even unsafe driving conditions.