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 dangerous. The head or arms could hit something while the vehicle is moving. This could cause serious injury or death.
Make sure the opening is clear before closing the moonroof:
A closing moonroof is dangerous. The hands, head, or even neck of a person, especially a child, could be caught in it as it closes, causing serious injury or even death.
NOTE
Before washing your Mazda, make sure the moonroof is completely closed so that water does not get inside the cabin area.
After washing your Mazda or after it rains, wipe the water off the moonroof before operating it to avoid water penetration which could cause rust and water damage to your headliner.
Power Window Lock Switch
Tilt OperationMazda 6 Owners Manual: Center roof antenna removal/installation
1. Disconnect the negative battery cable.
2. Remove the headliner. (See HEADLINER REMOVAL/INSTALLATION.)
3. Remove in the order indicated in the table.
4. Install in the reverse order of removal.
5. After installation, verify that the rubber of the center roof antenna is
installed to the r ...
Mazda 6 Owners Manual: Front drain hose installation
Caution
If the front drain hose is pinched or bent anywhere, the water in the hose
may not discharge and enter the inside of the vehicle. During and after
installation of the trims and the headliner, always make sure there is no
interference with the front drain hose. Fix any problem if found ...