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: Diagnostic trouble code number inspection
1. Remove the glove compartment.
2. Short the A/C check connector to the GND terminal using a jumper wire.
3. Shine a 60 W incandescent light from a height of approximately
100 mm {3.9 in} onto the solar radiation sensor.
Note
When incandescent light does not shine on the solar radiatio ...
Mazda 6 Owners Manual: Starting the Engine
WARNING
Radio waves from the key may affect medical devices such as pacemakers:
Before using the key near people who use medical devices, ask the medical device
manufacturer or your physician if radio waves from the key will affect the device.
NOTE
The key must be carried because the key c ...