The Common Prolog interpreter may be exited by typing:
|==> (halt)
KnowledgeWorks and Prolog User Guide (Windows version) - 26 Feb 2015