Request end game really ends game

i was wanting to know if anyone has a plugin or some way of fixing the end game button in the menu to really end the game instead of taking you back to title 
what i was talking about is when you pause the game (hitting esc for example) and you're brought to the menu with items skill ect at the bottom it says Game End what im wanting to do is set it up so picking that option will really end the game not just bring you to a set of menus saying To Title or Cancel 
Try this snippet then.


http://pastebin.com/T4cf6QTf
that worked exactly how i was wanting it to thank you alot 

Original thread: https://forums.rpgmakerweb.com/threads/request-end-game-really-ends-game.62897/