Chances are that you bumped/jiggled the steering wheel after turning the car off, triggering the steering lock.
Jiggle the steering wheel side to side, to release the pressure. Your key should come out then.
(BTW: make sure that your car is fully in the Park gear, otherwise the key will not come out.)
|