No, but you have broken the rules of the game, as it is not allowed to walk off before the game ends (as evidenced by the "starve to death" rule).
A resignation ends the game, at which point Inheritance no longer applies. But inheritance may still apply, so you may keep ownership of the Estate if the deceased's testament says as much.
If your opponent dies midgame, the game has not ended, and the Estate is yours, but also you are required to keep sitting at the table until you starve to death.