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: Knock sensor inspection
Note
Perform the following test only when directed.
Resistance Inspection
1. Turn the ignition switch to LOCK.
2. Disconnect the knock sensor connector.
3. Measure the resistance between the knock sensor terminals A and B using an
ohmmeter.
If not as specified, replace the knock sens ...
Mazda 6 Owners Manual: Vehicle speedometer sensor (vss) inspection
Visual Inspection
1. Remove the VSS. (See VEHICLE SPEEDOMETER SENSOR (VSS)
REMOVAL/INSTALLATION.)
2. Make sure that the sensor is free of any metallic shavings or particles.
If any are found on the sensor, clean them off.
3. Install the VSS. (See VEHICLE SPEEDOMETER SENSOR (VSS)
REMOVAL ...