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: Locking, Unlocking with Auxiliary Key
Turn the auxiliary key toward the front to lock, toward the back to unlock.
To lock
All doors lock automatically when the driver's door is locked using the auxiliary
key.
To unlock
The driver’s door unlocks when the auxiliary key is turned briefly to the unlock
position and then immediatel ...
Mazda 6 Owners Manual: Ignition coil inspection
Primary Coil Winding
1. Remove the ignition coil.
2. Measure the resistance between the following lead holes using an ohmmeter.
A and B, B and C
- If not specified, replace the ignition coil.
Specification
0.49-0.57 ohms [20°C {68°F}]
Secondary Coil Winding
1. Remove the igni ...