The government doesn't take back 25K when you sell, they take back the percentage they have a share of, so you could lose out on some money if the property increases in value. Not sure what happens if you're property decreases in value but it wouldn't surprise me if the minimum they take back is the amount they put in.