Unlike in many countries, the yellow book and immigration are separate matters not linked to each other. Strangely, in Thailand we can be resident of a municipality without being resident in the country 😁
A re-entry would be useless in your case then. They are made for people who don't want to lose their acquired status, like 1 year marriage, business or retirement extensions.