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: Shift-Lock Override
If the selector lever will not move from P using the proper shift procedure,
continue to hold down the brake pedal.
1. Remove the shift-lock override cover using a cloth-wrapped flat head screwdriver.
2. Insert a screwdriver and push it down.
3. Press and hold the lock-release button.
4. Mov ...
Mazda 6 Service Manual: Front Passenger Occupant Classification Sensor
Your vehicle is equipped with a front passenger occupant classification sensor
as a part of the supplemental restraint system. This sensor is equipped in the front
passenger's seat cushion. This sensor measures the electrostatic capacity of the
front passenger's seat. The SAS unit is designed ...