https://news.un.org/en/story/2023/10/1142007
“UN News asked Michael Newson, Senior Programme Coordinator for Migration and Sustainable Development at the International Organization for Migration (IOM) in Kyiv, Ukraine, about how people could be encouraged back home.
Michael Newson: IOM has already observed an increase of Ukrainians returning to Ukraine despite the ongoing war.”
Here is the last UN report (as of July), (https://dtm.iom.int/reports/ukraine-internal-displacement-report-general-population-survey-round-14-september-october) which counted 4,573,000 returnees. Some of them were likely coming back just to visit or wrap up business or property, but lots have returned to live, even if in another part of the country.
Europeans found it easier to fund more refugees to be supported in Ukraine, than keeping them all within their borders. Many are settling in to new lives in other countries, but a good chunk of the initial panicked crowd returned after the lines stabilized. The big outflow was just early on, and a smaller one from last Winter’s campaign against the energy infrastructure.
Once people settle in to a host country, begin raising families, landing jobs, starting businesses and buying properties, the vast majority of them only return to the "Old Country" to occasionally visit - if even that. That's the way it's been throughout history and that's not going to change now.