Takahara-san, thanks so much for your comment from presumably a Japanese perspective. I am sorry to hear that ex-pats have flown the country during the 2011 earthquake, and I agree that most people make the decision not out of romantic sentimentalisms but self-interests.
On this basis, it felt even more appropriate to ensure that the conditions that adhere to the self-interests aspect are good enough so that immigrants will not leave.
Every country/city has their good and bad points. Using London as an example, during Covid, many people (ex-pats or not) have left the city in exchange for bigger space and less loneliness in the countryside (some simply go back to their family home in the country). With the new normal (such as the need for prime offices in central cities replaced by perfect remote working tech), it's the job of the city's government to create an attractive space to attract people to come to visit or reside. The same goes for any cities in Japan.
As a person who's keen to come and stay in Japan, I come with self-interests but that doesn't mean i will leave the first thing something happened to Japan. When London was under terrorist attack, brexit and many other situations, I haven't left!