CTRL+b &: Kill a window. CTRL+b x: Kill a pane. If there’s only one pane (i.e., the window isn’t split into multiple panes), CTRL+b x will kill the entire window.
(Note: By default, the prefix is CTRL+b, so for simplicity, we can just refer to it as CTRL+b for beginner instructions!)