Unless you only "walked a beat", I don't think there are many of us that have not been in this predicament before. Usually only once, but been there done that. Thank goodness for the free services to the Sheriff's Office employees by a local company called "Pop-a-Lock"!
Thats why after you see one of your shift mates do that, you make a spare key to your car and keep it in your pocket so you wont lose it. Though with a pool car and working midnights, it's hard to get a copy of your key(s) made.