application.quit method

quit(self) -> None:

Closes this space and returns the user to the previous screen.