1. Disconnect the negative battery cable.
2. Remove the washer tank. (See WASHER TANK REMOVAL/INSTALLATION)
3. Connect battery positive voltage to the terminal B and ground to the terminal A of the motor.
4. Verify that the rear washer motor operates.

Rear washer motor removal/installation
Rear wiper motor removal/installationMazda 6 Service Manual: Opening the Hood
1. With the vehicle parked, pull the release handle to unlock the hood.
2. Insert your hand into the hood opening, slide the latch lever to the right,
and lift up the hood.
NOTE
The lever is located a little to the left of center when facing the vehicle.
3. Grasp the support rod in the pad ...
Mazda 6 Service Manual: Liftgate disassembly/assembly
1. Disconnect the negative battery cable.
2. Remove the liftgate lower trim.
3. To remove the liftgate outer handle and liftgate key cylinder, remove the
rear finisher.
4. To remove the stud ball, separate the stud ball and the stay damper.
5. Disassemble in the order indicated in the table.
...