If a foreigner inherit property from Thai wife or husband, he will get 6 month time to either sell the property to a Thai person, or define a different Thai heir.
I have been in the same situation, and went to immigration Nakhon Phanom and asked the officers there. If you are officially registered with yellow housbook, then you don't need to register again when reentering thailand and go to the same place.
The ask:thailand community, consisting of multiple Q/A groups with over 100,000 members, powers this platform. It is not an official government resource. Our members actively contribute to this resource, and while we strive for accuracy, we cannot guarantee its complete reliability. Assistance to travelers is provided as a community service.