To fully open automatically, momentarily press the tilt/slide switch in the backward direction.
To fully close automatically, momentarily press the tilt/slide switch in the forward direction.
To stop sliding partway, press the tilt/slide switch.

Tilt Operation
Power Moonroof Reset ProcedureMazda 6 Owners Manual: Rocking the Vehicle
WARNING
Do not spin the wheels at more than 56 km/h (35 mph), and do not allow
anyone to stand behind a wheel when pushing the vehicle: When the vehicle
is stuck, spinning the wheels at high speed is dangerous. The spinning tire could
overheat and explode. This could cause serious injuries.
...
Mazda 6 Owners Manual: Intermittent concern troubleshooting
Vibration Method
If malfunction occurs or becomes worse while driving on a rough road or
when engine is vibrating, perform the steps below.
Note
There are several reasons why vehicle or engine vibration could
cause an electrical malfunction. Some of the things to check for:
- ...