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: Temporary Spare Tire
Inspect the temporary spare tire at least monthly to make sure it is properly
inflated and stored.
NOTE
The temporary spare tire condition gradually deteriorates even if it has not
been used.
The temporary spare tire is easier to handle because of its construction which
is lighter and small ...