To close calculation algorithm, select the Calculation Algorithm > Exit main menu item.
If there are pending changes, it is prompted to save them.
See also:
Working with Ready Calculation Algorithm