Yes it happened to me a few times with hard alcohol.
You are going through withdrawals and the impending doom/panic is going to last a few more hours/days.
Try to relax and every time one of those terrifying thoughts come up remember how good you felt when you were sober. It's just withdrawals. It WILL pass!