Turn the engine off (but the ignition still on) whilst still in "D". Put the car into "P" then turn the handbrake off. Turn off ignition.Job done.