ALTER DATABASE [DBNAME] SET EMERGENCY
Msg 1468, Level 16, State 1, Line 1
The operation cannot be performed on database "DBNAME" because it is involved in a database mirroring session or an availability group. Some operations are not allowed on a database that is participating in a database mirroring session or in an availability group.
Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.
Need to remove mirroring in database suspect mode