When you leave your vehicle, you should:

The parking brake should be applied when leaving your vehicle.
DMV Writen Test