If you have done this by accident, then do not worry as you will simply have sold the item for less than what it is supposed to be worth – which isn't much of a loss at all. However, if it was stolen from you by a Thief adventurer, then the item will have been returned to your inventory and will be up for sale again.