Good thing no one was standing in front of the car when that happened.
I usually park with the car in neutral, unless on a hill. Always with the e-brake.
A good habit would be to check if its in neutral, even when you know you were the last one to drive it.
That's one of many reasons I'm not having kids.