Welcome to HCM
We understand your concerns
As you had suspected, the incident might have panic attack
after a mild chapter of illness feeling. Panic attack normally comes when you are apprehensive about something. Yu became apprehensive without any known reason or known happening. Avoding apprehension and indulging in positive thinking is the proper treatment method. Start doing these things with the help of a psychologist
or psychotherapist. Don't worry unnecessarily. For almost every problem medical science has treatment. Just you have to pproach the doctor. Get well soon.