You can cancel an order by clicking on the cancel order icon in the Received/dispatched sections of the order module. This will also resutl in the quantity of stock automatically getting added back on the Product.