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: Steering gear and linkage removal/installation
Caution
Performing the following procedures without first removing the ABS
wheel-speed sensor may possibly cause an open circuit in the harness if it
is pulled by mistake. Before performing the following procedures, remove the
ABS wheel-speed sensor (axle side) and fix it to an appropri ...
Mazda 6 Owners Manual: Owner Maintenance Precautions
The owner or a qualified service technician should make these vehicle inspections
at the indicated intervals to ensure safe and dependable operation.
Bring any problem to the attention of an Authorized Mazda Dealer or qualified
service technician as soon as possible.
At Least Twice a Year (For ...