The windshield wiper motor is protected by a circuit breaker and a fuse. If the motor overheats due to heavy snow, etc., the wiper will stop until the motor cools.
If the overload is caused by some electrical problem, have it fixed.
Headlamp Wiring
Power Windows and Other Power OptionsChevrolet Cobalt Owners Manual. Dome Lamp
The vehicle may have a dome lamp.
Move the lever to the following positions:
(Off): Turns the lamp off,
even when a door is
opened.
(Door): Turns the lamp on
whenever a door is
opened.
(On): Turns the dome lamp on.
...