1. Remove the headliner.
2. Disconnect the front drain hose from the sunroof frame.
3. Remove the front drain hose from the clips.
4. Pull the front drain hose into the room side.
5. Remove the front drain hose.

Glass panel adjustment
Front drain hose installationMazda 6 Service Manual: Lights-On Reminder
The lights-on reminder is operable when the time setting*1 of the auto headlight
off function is off.
If lights are on and the ignition is switched to ACC or off, a continuous beep
sound will be heard when the driver's door is opened.
*1 If the light switch is left on, the auto headlight off f ...
Mazda 6 Service Manual: Moonroof (Some models)
The moonroof can be opened or closed electrically only when the ignition is switched
ON.
WARNING
Do not let passengers stand up or extend part of the body through the open
moonroof while the vehicle is moving: Extending the head, arms, or other parts
of the body through the moonroof is dan ...