Were you honest with your doctor about your alcohol use? I'm very surprised that any doctor would prescribe atavan to someone in recovery.
That bring said, I was given benzodiazipines as part of my inpatient detox protocol under 24-hour medical supervision, and yea, I was hella foggy.