src/vs/workbench/browser/parts/activitybar/activitybarPart.ts/ActivitybarPart/uninstallMenubar
class ActivitybarPart:	private uninstallMenubar() {
		if (this.menuBar) {
			this.menuBar.dispose();
			this.menuBar = undefined;
		}

		if (this.menuBarContainer) {
			this.menuBarContainer.remove();
			this.menuBarContainer = undefined;
			this.registerKeyboardNavigationListeners();
		}
	}