exit [ [-]ival]
Terminates script execution immediately, rolling back every open transaction on all database connections. The slonik utility will return the given value as its program termination code.
EXIT 0;