Good story with a good ending. Glad you are alright and the bike will ride again. I have not experienced anything like that on a bike, but it was a different story with a horse. I ride cutting horses and was on the ground with another horse with calf on a rope tied to horn, when my buddy was on another horse and got to close and the calf got up under the horse. The horse just reacted and kicked me twice. Once caught my left knee and the other caught the right side of my stomach and my forearm. Horse kicked me about two feet off the ground and flew back five feet. Only thing was heavy bruising and broke my ulna. Was out of riding and heavy working for 10 weeks.
What I have learned from getting bucked off horses and this injury is that you have to face your fears and ride again. It makes you more cautious and aware of the situation.
Ride again my friend and enjoy the new knowledge that you have from this experience.