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: Sunvisors
When you need a sunvisor, lower it for use in front or swing it to the side.
Side Extension Sunvisors (Some models)
The visor extender extends the sunvisor's range of sun shading.
To use, pull it out.
CAUTION
When moving the sunvisor, retract the visor extender to its original position.
O ...
Mazda 6 Owners Manual: Crankshaft position (ckp) sensor inspection
Note
Perform the following inspection only when directed.
Resistance Inspection
1. Disconnect the CKP sensor connector.
2. Measure the resistance between CKP sensor terminals A and B using an
ohmmeter.
If not as specified, replace the CKP sensor.
If CKP sensor resistance is okay, bu ...