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: Selector lever disassembly/assembly
1. Disassemble in the order shown in the figure.
2. Assemble in the reverse order of disassembly.
Connector Disassembly Note
1. Insert a thin piece of metal from the terminal side of the connector, and
press down the terminal locking tab.
2. Pull the terminal out of the connector. ...
Mazda 6 Owners Manual: Manual transaxle removal/installation
1. Remove the battery, battery tray and battery bracket.
2. Remove the air cleaner compornent. (See INTAKE-AIR SYSTEM
REMOVAL/INSTALLATION.)
3. Remove the wheels, tires and splash shields.
4. Remove the under cover.
5. Remove the steering gear and power steering pipe. (See STEERING GEAR AND
...