1. Disconnect the negative battery cable.
2. Remove the headliner.
3. Disconnect the connector.
4. Remove the screws, and then remove the sunroof motor.

Sunroof unit disassembly/assembly
Sunroof motor installationMazda 6 Service Manual: Thermostat
THERMOSTAT REMOVAL/INSTALLATION
1. Remove the plug hole plate.
2. Disconnect the negative battery cable.
3. Drain the engine coolant. (See COOLING SYSTEM SERVICE WARNINGS.)
4. Remove the drive belt. (See DRIVE BELT REPLACEMENT.)
5. Remove the washer tank.
6. Remove the P/S oil pump.
Note
...
Mazda 6 Service Manual: Interior Lights
NOTE
Do not leave the lights on for long periods while the engine is turned off.
Otherwise the battery power could be depleted.
Overhead Lights
NOTE
The rear map lights also turn on and off when the overhead light switch is
operated.
Front Map Lights
When the overhead light switch is i ...