A stick with a pointy or angled end on it can be very dangerous. If you just barely hit the tip at the right speed an angle it can flip up and towards you. I've not had it happen on a bike, but there is a massive dent in my car door from exactly this happening. Glad you made it out without any extreme injuries.