Oracle Message ORA-10457 - cannot close standby database due to active media recovery

ERRORcannot close standby database due to active media recovery
CAUSEA media recovery session was in progress on a standby database when an attempt was made to close the standby database.
ACTIONCancel the media recovery session and close the standby database.