You must exit the CLI from the global context prompt (eqcli >):
Enter exit or <ctrl-d> to exit and commit any queued changes.
Enter quit to exit and discard all queued changes.
If you are in a lower context, repeatedly enter one of the above commands, as appropriate, until you exit the CLI. Once you exit the CLI, the login prompt is displayed.