I can certainly understand your frustration over how things happened, and honestly sympathize with your position in this situation.
It sounds though, as if the doctor did the right things by sending you to the Emergency Room - because when they got you to the mental health hospital - you spent three weeks there.
Imagine if you were the psychiatrist - and you had a patient who was really agitated in the employee health room - wouldn't you too, suggest they been seen by someone else? That's what we are trained to do. That is standard operating procedure - or protocol.
It may not have felt good for you at the time, but he did the right thing FOR YOU.
So, although you still struggle with your feelings - I am going to suggest you do your best to just move on. It's over and clearly you are doing much better - so it's time to forgive and forget - knowing your odctor did the right thing.
Stopping psychotropic meds cold turkey may lead to serotonin withdrawal symptoms (ex: uspet stomach, anxiety, vommiting, etc.) People are usually tapered down from their medications by decreasing the dossages within a time frame.
Having been redirected to the hospital may have been in an attempt to have you be seen immediately (although, hospital docs do not provide medication management on an ongoing basis. They usually are able to give a "gap" also known as a "bridge" dossage of a medication that a client may have ran out, in order to provide them with meds until they see their regular prescribing doc) You may consult w/ a pharmacologist where you re fill your meds regarding side effects but medication questions need to always be handled by the prescribing doctor.