When creating a Stocktake, when you click on the 'Cancel' button, there should be a warning before it is cancelled - just in case you click on the button by mistake.