Close

Close the active world

Menu

File -> Close World

Example of script call

world.DoCommand "Close"