Remove the regulator handle clip using a rag as shown.

Inner handle removal/installation
Regulator handle installationMazda 6 Service Manual: Vehicle speedometer sensor (vss) removal/installation
Caution
Water or foreign objects entering the connector can cause a poor
connection or corrosion. Be sure not to drop water or foreign objects on the
connector when disconnecting it.
If foreign materials are stuck to the VSS, disturbance by magnetic
flux can cause sensor output to be ...
Mazda 6 Service Manual: Solenoid valve removal/installation
1. Disconnect the negative battery cable.
2. Remove the under cover.
3. Remove the control valve body. (See CONTROL VALVE BODY REMOVAL.)
4. Remove the solenoid valve(s).
5. Apply ATF to a new O-ring and install it on the solenoid valve.
6. Install the solenoid valve in the control valve body. ...