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: Abs (abs/tcs) hu/cm system inspection
System Inspection
Preparation
1. Verify that the battery is fully charged. With the ignition switch on,
verify that the ABS and BRAKE system warning lights goes out after 2.4
seconds.
2. If the lights stays on after 2.4 seconds, the ABS (ABS/TCS) HU/CM
detects a failure. Follow the troubles ...
Mazda 6 Owners Manual: Dsc hu/cm removal/installation
Caution
When replacing the DSC HU/CM, configuration procedure must be done
before removing the DSC HU/CM. If configuration is not completed before
removing the DSC HU/CM, DTC B2477 will be detected.
Do not drop the DSC HU/CM. Replace it if it is subjected to an
impact.
1. Configura ...