Logout, not exit, when in shell mode