how do you close the lua program

-- Step 1: Use the os.exit() function to terminate the Lua program.
os.exit()