How to deallocate the stock allocated against Unconfirmed trnsaction like despatch or stock related transction adjustment issue or recipt?

Suggestion :-

The stock gets assign against the trasnaction in which actual goods gets transfer like despatch and distribution issue and adjustment issue receipt
you can deallocate the stcok by editiing the transaction and droping the line items and saving the transacation