Use UI Designer to delete any menu and all its submenus and menu items from the project.
Figure 1 - A menu component selected in the UI Design Editor page and Outline view
OR
The selected menu component is deleted from the project.