src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/detachFromElement
class TerminalInstance:	detachFromElement(): void {
		this._wrapperElement.remove();
		this._container = undefined;
	}