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: Cruise actuator removal/installation
1. Disconnect the negative battery cable.
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal.
Cover Removal Note
Unclamp the clips of the heater hoses at the front of the cover.
...
Mazda 6 Owners Manual: Information display removal/installation
1. Disconnect the negative battery cable.
2. Remove the center panel module. (See CENTER PANEL MODULE
REMOVAL/INSTALLATION.)
3. Remove the LCD unit. (with car-navigation system) (See LCD UNIT
REMOVAL/INSTALLATION.)
4. Remove the center box. (without car-navigation system)
5. Remove in the or ...