Oracle Message RMAN-06188 - cannot use command when connected to a mounted target database

ERRORcannot use command when connected to a mounted target database
CAUSEAn attempt was made to issue a command that can be used only when there is no connection to the target database or when the target database is not mounted.
ACTIONDismount the database or restart RMAN and use the command before connecting to the target database.