I'm glad you weren't hurt!
I had a bobcat creep up on me while dove hunting. I was hunched over sitting on a bucket, facing towards the field. He came from the field edge, and was in a low crawl (like stalking) towards me.
I heard a faint sound and turned around to see him about 10-12 feet away. I was absolutely terrified, and swung my gun around. I shot him, but was so shook up that I couldn't keep hunting. I just kept thinking "what if I hadn't turned around??"
I think the theme here is a case of mistaken identity. In hindsight, I would have preferred not to have shot the bobcat, because it was the first one I had personally seen in the wild (this was about 20 years ago), but I was too scared at the time to think of doing anything else. The whole ordeal happened in just a few seconds.