If you need to reverse a sale for any reason you can use the 'Undo Sell' option in the popup menu 
of the history trade list.  Alternatively you could  
also undo a trade by by un-checking the date 
sold tick box within the transaction details dialog. 
Please note that any parcels which have been split due to the sell will remain as separate 
transactions.