Message Oracle RMAN-20244 - can not change currently connected database db_unique_name

ERRORcan not change currently connected database db_unique_name
CAUSEthe user specified currently connected DB_UNIQUE_NAME value to unregister.
ACTIONuse the DB_UNIQUE_NAME other than connected target databases DB_UNIQUE_NAME value.