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: Immobilizer system reprogram procedure
Note
When an error occurs during the reprogram procedures, except when
the PCM is replaced, repeat the procedure from Step 1. If you still cannot
reprogram, confirm how many keys can start the engine. Then, perform the key
replacement or addition reprogram procedure according to the val ...
Mazda 6 Owners Manual: Refrigerant pressure switch inspection
1. Install the SST (gas charging set).
2. Disconnect the refrigerant pressure switch connector.
3. Verify the high-pressure side reading of the SST (manifold gauge)
and continuity between the terminals of the refrigerant pressure switch.
If not as specified, replace the refrigerant pressure ...