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: Manually Shifting Up
You can shift gears up by operating the selector lever or the steering shift
switches (some models).
M1 → M2 → M3 → M4 → M5 → M6
Using selector lever
To shift up to a higher gear, tap the selector lever back (+) once.
Using steering shift switch (some models)
To ...
Mazda 6 Service Manual: Inboard combination light removal/installation
1. Disconnect the negative battery cable.
2. Remove the trunk lid trim (liftgate lower trim). (See TRUNK LID TRIM
REMOVAL/INSTALLATION) (See LIFTGATE LOWER TRIM REMOVAL/INSTALLATION)
3. Remove in the order indicated in the table.
4. Install in the reverse order of removal.
Inboard Combinat ...