You should not stop the drug immediately. If you have been taking Xanax for a long time, the withdrawal symptoms could be severe. Withdrawal symptoms such as increased heart rate,
sleeplessnessSleeping difficulty, and seizures could occur. Therefore I would recommend going back to your doctor and ask to be tapered off. If your doctor is not willing, you can go to a hospital or a center that specializes in helping people stop taking drugs such as Xanax. They have programs and plans set up where they can help you wean off the medication and reduce the withdrawal symptoms as much as possible.
Best of luck.
Anything can happen in one patient but I can simply say that if you had a seizure after using xanax for two days, your case will be in the New England Journal of Medicine. The suggestion of tapering is "defensive medicine" that we are all hearing about lately. It is the absolute safest thing to do, but probably not necessary.