The hazard warning lights should always be used when you stop on or near a roadway in an emergency.

The hazard warning lights warn other drivers that your vehicle is a traffic hazard and that they must take extreme caution when near it.

Depress the hazard warning flasher and all the turn signals will flash. The hazard warning indicator lights in the instrument cluster flash simultaneously.
NOTE
Flat TireMazda 6 Owners Manual: Electrical parts
Battery cable
Before disconnecting connectors or removing electrical parts, disconnect
the negative battery cable.
Wiring Harness
To remove the wiring harness from the clip in the
engine room, pry up the hook of the clip using a
flathead screwdriver.
...
Mazda 6 Owners 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 ...