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: Wiper and washer switch inspection
Windshield Wiper And Washer Switch
Without vehicle-speed sensing type wipers
1. Remove the wiper and washer switch. (See WIPER AND WASHER SWITCH
REMOVAL/INSTALLATION)
2. Inspect for continuity between the wiper and washer switch terminals using
an ohmmeter.
If not as specified, replace th ...
Mazda 6 Owners Manual: No.8 brake system warning light stays on more than 4 seconds with ignition
switch on
Diagnostic procedure
When performing an asterisked (*) troubleshooting inspection, shake the
wiring harness and connectors while doing the inspection to discover whether
poor contact points are the cause of any intermittent malfunction. If there
is a problem, check to make sure co ...