Did you know ... Search Documentation:
Stopping Prolog