Implemented EXIT cmd