Thank you for asking your query at DoctorSpring.
I understand your concern and will try my best to help you. This episode you have described here does NOT appear to be Panic attack. This is more suggestive of either a seizure episode or drug withdrawal. Seizure occurs when there is an abnormal electrical activity in the brain. This can occur due to a lot of causes - unusual medications, drugs, fasting (hypoglycaemia), sudden withdrawal of drugs, too much alcohol all can cause seizures.
As you have mentioned it is possible that your son had one or more of the risk factor mentioned above. In addition seizure can occur as a part of epilepsy. So I recommend a baseline evaluation (which includes a blood test) and a complete Neurological examination. An MRI brain might be needed in some cases (depending on the Neurological exam findings). Meanwhile do avoid high risk activities. In case the episode occurs, it is better not to give any drugs. Make him lie on his side to prevent any aspiration of food / food particle. Do not let him drive / operate heavy machinery within 24 hours of the episode. Get medical help asap.
Hope this helps
Please feel free to ask followp questions.