EndGame

The   NWScript command shuts down the currently loaded module and returns all players to the Neverwinter Nights main menu.