If all occupants have exited a vehicle, the engine may be left running:

The law requires you to turn off the engine and remove the key from the ignition when leaving a vehicle. Always lock your vehicle when leaving it, even if you are only going to be away for a short period of time.