The sunshade can be opened and closed by hand.
The sunshade opens automatically when the moonroof is opened, but must be closed by hand.

CAUTION
Jam-safe Moonroof
Security SystemMazda 6 Owners Manual: Combine sensor initialization procedure
1. Set the SST (WDS or equivalent) to the DLC-2
2. Access the active command mode and select the YAWRATE, then follow the
indication on the monitor.
3. Select the LATACCEL and follow the indication on the monitor.
STEERING ANGLE SENSOR REMOVAL/INSTALLATION
(See COMBINATION SWITCH DISASSEMBLY ...
Mazda 6 Owners Manual: Emission Control System
This vehicle is equipped with an emission control system (the catalytic converter
is part of this system) that enables the vehicle to comply with existing exhaust
emissions requirements.
WARNING
Never park over or near anything flammable: Parking over or near
anything flammable, such as dry ...