If you're playing on PC and don't mind accessing the developer console, then Yes.
There are a couple of commands you can use that will cause a menu exit as a side-effect. The simplest in this case is:
player.moveto player
This will fast travel or 'teleport' you to your current position. You will end up respawning on top of the crafting station you're currently accessing.
Otherwise you can use the coc
command to fast travel you to a specific location. For example, open the console and type the following to teleport to SancturarySanctuary:
coc sanctuaryext
Either one will close the current menu.