How to get the VirtualBox top menu back
The VirtualBox top menu bar (File, Machine, View, Input, Devices, Help) can disappear after a display change or a full-screen toggle. Press right Ctrl + Home, then click View > Menu Bar > Show Menu Bar.
Show the VirtualBox menu bar
- Make sure your virtual machine is running.
- Press the right Ctrl + Home keys on your keyboard.
- Hover over View > Menu Bar.
-
Select Show Menu Bar.

Related:
Fix: VirtualBox only showing 32-bit and no 64-bit versions
How to fix Windows 10/11 stuck on boot screen in VirtualBox