The Common Prolog interpreter may be exited by typing:
|==> (halt)
KnowledgeWorks and Prolog User Guide (Unix version) - 6 Dec 2011