I find myself trying to think of a way for SE to improve this situation so this sort of thing doesn't happen...
Now I'm going by the assumption that the owner just straight up gives up the house and then the buyer snaps it up. If this is wrong, please don't hesitate to correct me. As I see it, there's two ways to do this:
1.) You "sell" the house back to an NPC to put it back on the market. It wouldn't be full price, but it WOULD be adjusted by what furnishings you leave in and around the place (most likely based off item sell price to avoid over-complication and the need to track going rates for such things). You wouldn't get all the money sunk into it back, but you'd hopefully get a decent bit of it. Which can all go towards upgrading or whatever you need the gil for. Basically a way to vendor your manor.
2.) Give the owner of the manor the ability to put it up for sale. On the map you could have a little "FOR SALE" marker by the place, and you could look at the asking price off that little sign thing that's outside the place anyway. Then, if you'd like, you could place a bid on the thing using a method not unlike sending in an application to join a Free Company. The owner can pick one of these and, after are "are you sure" prompt, can sell the house. Once it's sold, all those people who had bids up would immediately be refunded their gil.
There's plenty of holes in some of these ideas, I'm sure, but that's the two ways I'd approach it.
Now I'm going by the assumption that the owner just straight up gives up the house and then the buyer snaps it up. If this is wrong, please don't hesitate to correct me. As I see it, there's two ways to do this:
1.) You "sell" the house back to an NPC to put it back on the market. It wouldn't be full price, but it WOULD be adjusted by what furnishings you leave in and around the place (most likely based off item sell price to avoid over-complication and the need to track going rates for such things). You wouldn't get all the money sunk into it back, but you'd hopefully get a decent bit of it. Which can all go towards upgrading or whatever you need the gil for. Basically a way to vendor your manor.
2.) Give the owner of the manor the ability to put it up for sale. On the map you could have a little "FOR SALE" marker by the place, and you could look at the asking price off that little sign thing that's outside the place anyway. Then, if you'd like, you could place a bid on the thing using a method not unlike sending in an application to join a Free Company. The owner can pick one of these and, after are "are you sure" prompt, can sell the house. Once it's sold, all those people who had bids up would immediately be refunded their gil.
There's plenty of holes in some of these ideas, I'm sure, but that's the two ways I'd approach it.