diff --git a/lib/pty.js b/lib/pty.js
index <HASH>..<HASH> 100644
--- a/lib/pty.js
+++ b/lib/pty.js
@@ -313,9 +313,9 @@ Terminal.prototype.destroy = function() {
 
   // Need to close the read stream so
   // node stops reading a dead file descriptor.
-  // Then we can safely SIGTERM the shell.
+  // Then we can safely SIGHUP the shell.
   this.socket.once('close', function() {
-    self.kill('SIGTERM');
+    self.kill('SIGHUP');
   });
 
   this.socket.destroy();
@@ -323,7 +323,7 @@ Terminal.prototype.destroy = function() {
 
 Terminal.prototype.kill = function(sig) {
   try {
-    process.kill(this.pid, sig || 'SIGTERM');
+    process.kill(this.pid, sig || 'SIGHUP');
   } catch(e) {
     ;
   }
send SIGHUP instead of SIGTERM.