exit exits with a given exit code.
exit [ n ]
exit exits with the exit code n, or 0 if n is not given (in which case it's the same as true). If n is not a number, exit exits 100.
exit is a standard shell builtin, with the same function.