Pressing or holding the ESC key while opening a world shows the main menu for a short amount of time.
MC-122445 World loading bug