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: Operating Tips
Operate the climate control system with the engine running.
To prevent the battery from being discharged, do not leave the fan control
dial/switch on for a long period of time with the ignition switched ON when
the engine is not running.
Clear all obstructions such as leaves, snow and i ...
Mazda 6 Owners Manual: Automatic transaxle fluid (atf) inspection
Automatic Transaxle Fluid (ATF) Condition Inspection
One way of determining whether the transaxle should be disassembled is by
noting:
If the ATF is muddy or varnished.
If the ATF smells strange or unusual.
ATF Condition
Automatic Transaxle Fluid (ATF) Level Inspection
Caution
Th ...