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: Stabilizer control link inspection
1. Remove the stabilizer control link from the vehicle.
2. Inspect for bending and damage.
3. Measure the ball joint starting torque.
(1) Rock the ball joint stud side to side 10 times.
(2) Rotate the ball joint stud 10 times.
(3) Measure the starting torque using a suitable
Allen socket ...
Mazda 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. ...