def close(self) -> None:
        """Closes the session and terminates the App, if necessary."""
        if self._client.is_open and focx.is_notebook_context():
            self.freeze()

        self.plots.disconnect()
        self.__del__()
Closes the session and terminates the App, if necessary.
fiftyone/core/session/session.py