Migration Failure

If the database is left in restricted mode because migration fails, the following command as SYSDBA to set the database back to unrestricted mode:

ALTER SYSTEM DISABLE RESTRICTED SESSION;