Switchover procedure when using Active Data Guard feature
Without ADG, the standby would be mounted and closed with managed recovery running in background. During a switchover, the primary is first converted to a standby and then the "old" standby is converted to a primary by executing:
ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;