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: Tire Chains
Check local regulations before using tire chains.
CAUTION
Chains may affect handling.
Do not go faster than 50 km/h (30 mph) or the chain manufacturer's recommended
limit, whichever is lower.
Drive carefully and avoid bumps, holes, and sharp turns.
Avoid locked-wheel braking.
Do not ...
Mazda 6 Owners Manual: No.8 no cool air
When performing an asterisked (*) troubleshooting inspection, shake the
wiring harness and connectors while performing the inspection to discover
whether poor contact points are the cause of any intermittent malfunctions.
If there is a problem, check to make sure connectors, terminals ...