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: Viewing the Display
Guide lines which indicate the width of the vehicle (yellow) are displayed on
the screen as a reference to the approximate width of the vehicle in comparison
to the width of the parking space you are about to back into.
Use this display view for parking your vehicle in a parking space or garage ...
Mazda 6 Owners Manual: Add-On Non-Genuine Parts and Accessories
Non-genuine parts and accessories for Mazda vehicles can be found in stores.
These may fit your vehicle, but they are not approved by Mazda for use with Mazda
vehicles. When you install non-genuine parts or accessories, they could affect your
vehicle's performance or safety systems; the Mazda w ...