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: Scheduled Maintenance (U.S.A., Canada, and Puerto Rico)
Follow Schedule 1 if the vehicle is operated mainly where none of the following
conditions (severe driving conditions) apply.
Repeated short-distance driving
Driving in dusty conditions
Driving with extended use of brakes
Driving in areas where salt or other corrosive materials are used
...
Mazda 6 Owners Manual: Traction Control System (TCS)
The Traction Control System (TCS) enhances traction and safety by controlling
engine torque and braking. When the TCS detects driving wheel slippage, it lowers
engine torque and operates the brakes to prevent loss of traction.
This means that on a slick surface, the engine adjusts automatically ...