Emacs 中的屏幕 shell:如何分离?

Screen in Emacs shell: how to detach?

我通常 运行 在 Emacs 中使用 shell 并使用它通过 ssh 连接到我工作的服务器。 在 ssh 之后,我使用屏幕来保持持久会话 运行ning。 但是,在 Emacs 的 shell 中,我无法在屏幕会话中使用 C-a ddetach

问题:如何在 Emacs 的 shell 中从屏幕会话 运行ning 分离?

我能够通过在 C-a 之前添加 C-q 并添加一个 在屏幕命令的最后输入

C-qC-ad输入