If you accidentally mark a work as sold, but need to undo it, you will delete the sale. Deleting the sale doesn't delete any other information besides the sale itself.
Click on Income in the left-hand menu and then Sales/Donation on the top menu.
Click Actions to the right of the Sale you want to delete, and select Delete from the drop down menu.
Click on the Sale, then select Edit above the Piece and click on the red trashcan icon.
NOTE: The deletion is permanent and you won’t have access to the associated records recorded with that Sale. The Piece will be returned to your Inventory. You can always re-register the Sale if you click this by mistake.