Both /halt and /haltdef stop the default output, while /halt also stops the script execution. /halt implies /haltdef.