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: Battery Maintenance
To get the best service from a battery:
Keep it securely mounted.
Keep the top clean and dry.
Keep terminals and connections clean, tight, and coated with petroleum jelly
or terminal grease.
Rinse off spilled electrolyte immediately with a solution of water and baking
soda.
If th ...
Mazda 6 Service Manual: Blind Spot Monitoring (BSM) Warning Indicator Lights/Display Indicator/ Blind
Spot Monitoring (BSM) Warning Beep
The Blind Spot Monitoring (BSM) or Rear Cross Traffic Alert (RCTA) system notifies
the driver of the presence of vehicles in adjacent lanes or at the rear of the vehicle
using the Blind Spot Monitoring (BSM) warning indicator light, the warning sound
and the display indicator (vehicles with mu ...