diff --git a/scripts/security-harness b/scripts/security-harness
index df499be23f5ad769128f2fa90fbc3d99490ae413..db397a6c1b10dbcca32fbb8b6c23e606c32aacb4 100755
--- a/scripts/security-harness
+++ b/scripts/security-harness
@@ -75,6 +75,7 @@ end
 
 def delete_hook
   FileUtils.rm(HOOK_PATH)
+  system("git checkout master")
   puts "#{SHELL_YELLOW}Security harness removed -- you can now push to all remotes.#{SHELL_CLEAR}"
 end