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: Front door speaker removal/installation
1. Disconnect the negative battery cable.
2. Remove the front door trim.
3. Remove in the order indicated in the table.
4. Install in the reverse order of removal.
Front Door Speaker Installation Note
Attach the speaker with the wiring harness placed in the groove of the door
unit panel.
...
Mazda 6 Owners Manual: Driver-side air bag module removal/installation
Warning
Handling the air bag module improperly can accidentally deploy the
air bag module, which may seriously injure you. Read AIR BAG SYSTEM SERVICE
WARNINGS before handling the air bag module. (See SERVICE WARNINGS.)
Due to the adoption of 2-step deployment control in both the
driv ...