Not quit, ask for a transfer.
Are you ready to suffer two more years?
Took me years to recover from the impact of harassment and abuse from the school years, I don't wish anyone to go through all this.
The mental state can also effect your academic achievements so transferring can help with that too.
Are you a medical intern? I've heard it is common to treat interns like crap. Have you spoken to other interns?