I think that you found the correct answer to the phenomenon that you feel ...
If a person accidently aspirated a small amount of liquid or mucus then the vocal cords guards automatically spasms SHUT ... it is a reflex which basically guards vs drowning ...
You aspirate a bit of fluid and you get the laryngospasm and it is very UNCOMFORTABLE ..you can't move air in or out for probably about 30 seconds but it feels longer ...
Sound familiar ?
As long as it is a very uncommon phenomenon then it is not any big deal
If you aspirate frequently upon eating / drinking then THAT may need to be checked further
It is a VERY ALARMING SENSATION but what you describe is consistent with laryngospasm ...
I hope that this information is helpful for you
Let me know if you have further questions or concerns
I will be happy to get back with you
If my answer has been helpful and to your satisfaction then please remember to leave positive feedback
Thank you and Best Regards,