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: Generator removal/installation
Warning
When the battery cables are connected, touching the vehicle body with
generator terminal B will generate sparks. This can cause personal injury, fire,
and damage to the electrical components. Always disconnect the battery negative
cables before performing the following operation.
...
Mazda 6 Owners 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 ...