Oh yeah, NEVER stand behind a gate. I spent a lot of my young adult life walking through pens with a hand as high on the fence as I could reach in case something decided it was tired of being pushed that day. That was a very wise call on your part.That being said I have no idea why cowboys do rodeo bull riding. Having grown up on a farm I have a deep respect for 1 and 2 thousand pound, four legged, walking testosterone containers. I watched dad get a new knee because he walked close to the bull he was hand feeding. He just walked by and smack! the bull kicked him in the knee.
During college, I was tasked with helping out in a rodeo by operating the gates after the bulls left the arena. The bull's owner told me to stand on the ground between two metal 2 inch pipe gates, one of which was bent into a curved crescent shape so there was a perfect pocket for me to stand in. I wouldn't do it and refused several times. He got mad at me and did it himself.
About that time a two thousand pound pissed off Brahma bull came snorting through the lane. The owner tried to shut that bent gate and the bull wouldn't have any of that flattening the gate back to its original shape and we measured the distance between the gates after the guy was extracted by the paramedics. It was 4 inches from one gate to the other. He didn't die but he looked like a tracked vehicle drove over him.
Dad drilled a lot of common sense into me. The rest I learned the hard way, like this guy.
Sometimes I wish we still had cattle for the kids to be around so they could learn some of the life skills I did such as constantly watching the eyes and body language of the animals and people around us to anticipate intent. Learning to think about where they choose to stand and which direction(s) danger can come from and planning an escape route/reaction. Overall, I think growing up around cattle taught me a lot about dealing with people too. If you try to work an animal that is already wound tight, getting aggravated yourself only pours fuel on the fire. Keeping a calm voice and slow, deliberate movements with minimal eye contact can really help deescalate a situation.