I'm sorry to hear about this incident - it must have been terrifying. I've heard about this happening to other people - they become very scared and lose control over their bladder and/or bowel. If you don't have any other problems with leaking urine, I would assume that it was probably just a one-time incident caused by the extreme stress and fear that you were feeling.
I know that having an accident like this can be very, very embaressing. All I can say is that if you ask any adult, they'll tell you that at least one really, really embaressing thing happened to them as they were growing up, and even though it was hard they stuck it out and eventually everyone got over it. In a few weeks or months everyone will be talking about someone else, so just hang in there!