src/vs/workbench/contrib/terminal/browser/terminalProcessManager.ts/TerminalProcessManager/detachFromProcess
class TerminalProcessManager:	async detachFromProcess(): Promise<void> {
		await this._process?.detach?.();
		this._process = null;
	}