Hagrid is right if your gonna quit Xanax might as well as taper off otherwise you might have a 3 day hangover no big deal. Most likely why there taking your meds away is because you scared someone and they called the hospital on you for drinking and taking a bunch of pills.
It’s not a big deal to get hooked on medication if you need it. That doesn’t make you crackhead addict stealing for your next high.