I use PHPStorm every day and have disabled the menu bar by an unintentional action. This can be deactivated by a shortcut I don’t know yet or even better by selecting this action in the menu under
View >> Appeareance >> Mainbar. The now missing menu bar prevents you from reaching the same place again.
To activate it from this position is to press the key combination
CTRL+SHIFT+A and type
viewmainmenu and confirm with Enter. Immediately the menu bar will be shown again.
Then you should be happy from now on.