Secure exit