I got caught in a major traffic stoppage on I-81 last week. Stopped dead and had no way to get out where I was at. It wasn't long before I shut off the engine, but left the key in the ignition. I leave the headlights in the On position in my year and a half old Subaru because I don't like how dark it gets before they'll turn on in Auto mode, and they'll turn off when the key is removed. But they stay on if the keys are in. Oops. After about an hour and a half things started to move, and I tried to start it and got nothing. Fortunately the guy behind me that I'd been talking to was willing to pull in front of me to give me a jump but I felt really dumb continuing to block traffic that had been stopped for so long.
"Luckily" traffic immediately stopped again, for another hour, so I didn't really inconvenience anyone. I had to keep the car running and turned everything else off since I knew it wouldn't recharge until I got moving at highway speeds again. Maybe I don't need to do that anymore with newer cars, but I wasn't about to test it out, and I did have a full tank of gas. When the wreck was finally cleared, I drove a couple more hours and all was fine, but I'm sure I probably shortened the life of the battery.
Lessen learned to pull the key completely out when stopped for any length of time.