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: Front stabilizer removal/installation
1. Remove the front crossmember component. (See FRONT CROSSMEMBER
REMOVAL/INSTALLATION.)
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal.
4. Adjust the headlight zeroset. (See HEADLIGHT ZEROSET.)
5. Inspect the front wheel alignment. (See FRONT WHEEL A ...
Mazda 6 Service Manual: Washer fluid-level sensor inspection
1. Disconnect the negative battery cable.
2. Remove the washer tank. (See WASHER TANK REMOVAL/INSTALLATION)
3. Insoect for continuity between the washer fluid-level sensor terminals
using an ohmmeter.
4. Verify that the windshield washer motor operates.
If not as specified, replace the ...