How do you mean you sold gold on the auctionhouse? Like on this webpage or in game? As far as I know your gold gets taken and if somebody buys it on the website you get your coins, ingame Ah shouldnt be possible.
So yeah as long as nobody buys your 10g you pretty much lost it, there might be a way to cancel your auction.