he is to determine the value for the years since he sold it and refund the balance to the man to whom he sold it; he can then go back to his own property.