If the stock moved to different location after your goods receipt then you can not cancel the Inbound delivery.In this case you need to use an option to return the stock either 161 or 102 to return the stock.
If you use 102 movement to cancel the items then it will create a delivery to return the goods.In the delivery you can assign handling units.