The rear of the moonroof can be tilted open to provide more ventilation.
To fully tilt automatically, momentarily press the tilt/slide switch.
To fully close automatically, momentarily press the tilt/slide switch in the forward direction.
To stop tilting partway, press the tilt/slide switch.

Moonroof (Some models)
Slide OperationMazda 6 Owners Manual: Theft-deterrent control module inspection
1. Remove the theft-deterrent control module without disconnecting the
connectors.
2. Measure the voltage at the theft-deterrent control module terminals as
indicated below.
3. Disconnect the theft-deterrent control module connector before inspecting
for continuity at terminals L, Q, S, T, a ...
Mazda 6 Owners Manual: No. 1 one or more on-board diagnostic functions inoperative
When performing an asterisked (*) troubleshooting inspection, shake the
wiring harness and connectors while doing the inspection to discover whether
poor contact points are the cause of any intermittent malfunctions. If there
is a problem, check to make sure connectors, terminals and wir ...