Glad to hear it all ended well.
One thing you should generally do in these situations - raise your hands! I don't know how, but that opens up your breathing passages. I learned that recently; it happened to me in the middle of the night - I woke up choking, grasping for air. My wife woke up and yelled at me to raise my hands. Once I did, whatever got stuck in the wrong tube was gone, and I started breathing normally. Tested, it works!
She learned that what you're supposed to do during the 1st job she had when we came to the US; she worked for a small child care place in Michigan. That was something they taught her as a part of a formal training for a job.