Remove login items mac terminal. You can now leave Terminal.