I almost had the same thing happen to me one time. We were deer hunting in northern Mexico and I got very over heated and weak. Made it back to the truck and when I looked at myself in the mirror, my face was a shade of purple I had never seen before.
There was no ambulance near or cell phone, I would have been toast.
I am glad too...
Sounds like you had a close call.
We all have things to learn and for some of us “oldsters” to remember.