Banished from the Institute

Banished from the Institute is a main quest in Fallout 4 that is given for becoming enemies with the Institute.

Detailed walkthrough
There are multiple ways to get banished:
 * Refuse to work with the Institute when you meet Father for the first time.
 * Kill any named character in the Institute.
 * Talk to Father negatively at the end of The Battle of Bunker Hill (select the "I want out" and then "I can't be a part of this" options). This will auto-complete the quest.
 * Board the Vertibird that spawns on the Prydwen to Mass Fusion with the Brotherhood of Steel during Spoils of War.
 * Support the Minutemen during Pinned.

To exit the Institute, simply head for the elevator and head up. Look for a bright red button in the room and push it to activate the emergency relay. Walk into the relay and the emergency teleportation will activate.