The horn honks when you do that, leave vehicle with fob and motor running, at least mine does. If you have the fob and the motor is running and you walk away, no one can move the vehicle, its disabled w/o the fob in the vehicle. NEVER leave fob in the vehicle, always on your person. Note-If you don't close the door completely, horn will not honk.
If left running, it will turn off by itself after a period time (15-20 min?).