I believe that this was a terrible abuse of power!!. I would suggest that you contact the state licensing agency to file a complaint against the staff and against the institution. Beyond that I would definitely contact a malpractice attorney. From what you describe they should be held liable for both malpractice and punitive damages so this does not happen to anyone else. I can definitely state that this was totally inappropriate and sorry you had to go through this horrific experience. This answer is from a mental health professsional's stand point not an attorney.
If you require further clarification or more information, feel free to ask!
Please click the green "ACCEPT" button on this page if you are satisfied with my answer so that I get credit for my work. Your positive feedback is most important and bonuses are always welcomed. If this is a mental health, or medical emergency, please call emergency services (911 in the USA), or go to your nearest Emergency Room. The opinion provided does not replace an evaluation by an appropriate professional. Use of this website DOES NOT CREATE a provider-client relation and this information is for educational purposes only.