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 seat disassembly/assembly
4SD
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order of disassembly.
5HB
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order of disassembly.
...
Mazda 6 Owners Manual: Outside Temperature Display
When the ignition is switched ON, the outside temperature is displayed.
NOTE
Under the following conditions, the outside temperature display may differ
from the actual outside temperature depending on the surroundings and vehicle conditions:
Significantly cold or hot temperatures.
Sudden ...