This is really silly. Why is there no way to do this? I have a lot of goods that are stuck on the market and that I can not get back and will not be bought. I have very little money left. I can't equip my troops. I can't buy new goods because I have no money and all my assets are tied up in the stupid market.
I tried to buy back my stuff from the market with what little money I have, and it wouldn't let me buy it back in chunks bigger than 20, and then it didn't let me buy it back at all after I'd gotten a little of it, even though I still had ~500 gold.
Town center is bugged all over the place, avoid it at all costs imo.