Take the appropriate action and verify that the warning light turns off.

Taking Action
Message Indicated on DisplayMazda 6 Owners Manual: Coming Home Light
The coming home light turns on the headlights (low beams) when the lever is operated.
To turn on the lights
When the lever is pulled with the ignition switched to ACC or OFF, the low beam
headlights turn on.
The headlights turn off after a certain period of time has elapsed after the
doors ar ...
Mazda 6 Owners Manual: To Turn Off an Armed System
An armed system can be turned off using any one of the following methods:
Pressing the unlock button on the transmitter.
Starting the engine with the push button start.
(With the advanced keyless function)
Pressing a request switch on the doors.
The hazard warning lights will flash twic ...