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: Sst
Some Ford SST or equivalent are used as SSTs necessary for
engine repair. Note that these SSTs are marked with Ford SST
numbers.
Note that a Ford SST number is written together with a
corresponding Mazda SST number as shown below.
Example (section ST)
Example (except section ST)
...
Mazda 6 Owners Manual: Power window regulator removal/installation
1. Disconnect the negative battery cable.
2. Remove the front door glass/rear door glass.
3. Remove the front door speaker/rear door speaker.
4. Remove the power window motor.
5. Remove the nuts.
6. Insert hand through the speaker installation hole, rotate the regulator
drum housing in the ...