Script call for exiting menu?

Hey all - Got an intermediate question here. I would like to know if there's a script call that exits the menu completely. Basically, some script I can call to tell the game to go to the gameplay screen and exit the menu completely. Another way to phrase the question is that there is a script call to open the menu screen, is there one to close it?

Thank you.
Since you can't do script calls in the menu, this is kind of redundant.


Unless you mean what command takes you right back out to the map? In that case it would be SceneManager.goto(Scene_Map) and should have been posted in the RGSSx Script Support forum, as the command would need to be in the script and not in the script call from the event.
That works perfectly. Yes - I have something setup where I can use script calls in the menu, your solution works perfectly! Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-for-exiting-menu.40796/