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: Plastic Part Maintenance
When cleaning the plastic lenses of the lights, do not use gasoline, kerosene,
rectified spirit, paint, thinner, highly acidic detergents, or strongly alkaline
detergents. Otherwise, these chemical agents can discolor or damage the surfaces
resulting in a significant loss in functionalit ...
Mazda 6 Owners Manual: Turning the Engine Off
WARNINGDo not stop the engine while the vehicle is moving: Stopping the
engine while the vehicle is moving for any reason other than in an emergency is
dangerous. Stopping the engine while the vehicle is moving will result in reduced
braking ability due to the loss of power braking, which coul ...