And California has created a unit to do the same to people they think are prohibited. Most recent horror story was about a nurse who'd voluntarily checked herself into a mental ward because of a medication screwup (i.e. it was self-limiting) and her husband's guns were confiscated: http://bearingarms.com/california-returns-confiscated-guns-t...
I'm not even sure in Crazy California a voluntary admission is a disbarring event, it isn't Federally or of any state I'm aware of, as this case shows it shouldn't be.
And note medication screwups/unwanted mental side effects happen all the time, a former SO got frank suicidal ideation when switched to a standard normally well tolerated anti-depressant (she just stopped taking the drug and was careful while it worked its way out of her system).
And many drugs can cause mania, as I can personally attest (hypomania in my case, and my "you're impaired" flag kept me from doing anything stupid including spending money needlessly (well, beyond buying a power supply as a kit when they're so cheap and easy in the form of wall-warts) until the problem was realized). Many that are not normally psychoactive, I've read systemic steroids like prednisone often do this.