If there is the possibility of a collision with a vehicle ahead, the beep sounds continuously and a warning is indicated in the multi-information display and the active driving display.

Smart Brake Support (SBS) (Some models)
Stopping The Smart Brake Support (SBS) System OperationMazda 6 Owners Manual: Operation
System triggering conditions
The horn sounds intermittently and the hazard warning lights flash for about
30 seconds when the system is triggered by any one of the following:
Unlocking a door with the key, door lock switch, or an inside door-lock
knob.
Forcing open a door, the hood or th ...
Mazda 6 Owners Manual: Door switch removal/installation
Front
1. Disconnect the negative battery cable.
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal.
Rear
1. Disconnect the negative battery cable.
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal. ...