Force closing game?

One of the games that I'm making involves a creepy ending, where the game immediately force closes after viewing the game's credits.

Is there a way to activate this action using events, or will this need to involve some script call?

I looked around, but I only got answers in the RPG Maker VX Ace forums. It used this script call:

SceneManager.exit When I put this into one of my ending events, but during playtesting it pulled up a NameError where "SceneManager" doesn't exist.

So I know that RPG Maker VX uses something different, so does anyone know how to pull it off?
$scene = nil
Thanks! This topic is now resolved.
When something is resolved, please Report your opening post (if you haven't done that already) and ask for the thread to be closed.  The Report button is bottom right, near the Multiquote button.  The mod for this forum might miss your post, but will see your Report.

Thanks.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/force-closing-game.43373/