You have attempted to clear an active menu.
Use DEACTIVATE MENU before clearing or releasing the menu.