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: Barometric pressure (baro) sensor inspection
Note
Perform the following inspection only when directed.
The following vacuum values are indicated by relative pressure
from the barometric pressure sensor.
1. Connect the SSTs (WDS or equivalent) to the DLC-2.
2. Turn the ignition switch to ON.
3. Select BARO on the SSTs (WDS or equi ...
Mazda 6 Owners Manual: Distance Recognition Support System (DRSS) (Some models)
The Distance Recognition Support System (DRSS) measures the distance between
your vehicle and a vehicle ahead using a radar sensor (front) while the vehicle
speed is about 30 km/h (19 mph) or faster, and if your vehicle approaches a vehicle
ahead more closely than what is appropriate for maint ...