The rear armrest in the center of the rear seatback can be used (no occupant in the center seat) or placed upright.

WARNING
Never put your hands and fingers around the moving parts of the seat and armrest:
Putting your hands and fingers around the moving parts of the seat and armrest is dangerous as they could get injured.
Split Folding
Head RestraintsMazda 6 Owners Manual: Jam-safe Moonroof
If a person's hands, head or an object blocks the moonroof while it is closing,
the moonroof will stop and move in the reverse direction.
WARNING
Make sure nothing blocks the moonroof just before it reaches the fully closed
position: Blocking the moonroof just before it reaches the closed posi ...
Mazda 6 Owners Manual: Dtc table
DTCs are common for present and past malfunction diagnosis.
Note
When DTCs not shown in the DTC table are displayed, replace
the SAS unit.
If the air bag system warning light does not illuminate or
remains illuminated when the ignition switch is turned to ON position,
i ...