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: Rear lateral link removal/installation
Caution
Performing the following procedures without first removing the ABS
wheel-speed sensor may possibly cause an open circuit in the harness if it
is pulled by mistake. Before performing the following procedures, remove the
ABS wheel-speed sensor (axle side) and fix it to an appropri ...
Mazda 6 Owners Manual: Camera and Sensors
Forward Sensing Camera (FSC)
The Forward Sensing Camera (FSC) detects lane indications and recognizes headlights,
taillights and city lights during nighttime driving. In addition, it also detects
the vehicle ahead, pedestrians, or obstructions. The following systems also use
the Forward Sensi ...