screen: Kill

 
 10.3 Kill
 =========
 
  -- Command: kill
      ('C-a k', 'C-a C-k')
      Kill the current window.
      If there is an 'exec' command running (SeeExec) then it is
      killed.  Otherwise the process (e.g.  shell) running in the window
      receives a 'HANGUP' condition, the window structure is removed and
      screen (your display) switches to another window.  When the last
      window is destroyed, 'screen' exits.  After a kill screen switches
      to the previously displayed window.
      _Caution_: 'emacs' users may find themselves killing their 'emacs'
      session when trying to delete the current line.  For this reason,
      it is probably wise to use a different command character (See
      Command Character) or rebind 'kill' to another key sequence, such
      as 'C-a K' (SeeKey Binding).