If a message is displayed in the center display, take appropriate action (in a calm manner) according to the displayed message.

KEY Warning Light (Some models)
Stop Vehicle in Safe Place ImmediatelyMazda 6 Owners Manual: Ignition switch inspection
1. Disconnect the negative battery cable.
2. Remove the column cover. (See COLUMN COVER REMOVAL/INSTALLATION)
3. Disconnect the ignition switch connectors.
4. Inspect for continuity between the ignition switch terminals using an
ohmmeter.
If not as specified, replace the ignition switch.
...
Mazda 6 Owners Manual: Power Windows
The ignition must be switched ON for the power windows to operate.
WARNING
Make sure the opening is clear before closing a window: Closing a
power window is dangerous. A person's hands, head, or even neck could be caught
by the window and result in serious injury or even death. This warning ap ...