In addition, to maintain the validity of the patent, it is necessary to pay a certain annual fee. If the patentee (or heir) fails to pay the annual fee as required, the patent right shall be terminated in advance.
If the patentee (heir) waives his patent right in writing, the patentee may terminate the patent invalidation in advance. The above has nothing to do with whether the patent applicant died or not.