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: Settings
NOTE
Depending on the grade and specification, the screen display may differ.
Select the icon on the home
screen and display the Settings screen.
Switch the tab and select the setting item you want to change.
You can customize settings in the setup display as follows:
...
Mazda 6 Service Manual: Fuse Replacement
Replacing the fuses on the vehicle's left side
If the electrical system does not work, first inspect the fuses on the vehicle's
left side.
1. Make sure the ignition is switched off, and other switches are off.
2. Open the fuse panel cover.
3. Pull the fuse straight out with the fuse puller p ...