Just an FYI agree that although it would be unusual for a country closing borders to own citizens there are countries who by default make it difficult for any one to travel back such as Australia for example where at one point they cut the number of inbound flights and therefore new arrivals down to about 4000 people a week. Also that country did ban virtually all international travel out of the country other than assume authorised compassionate.
Not sure but NZ may have taken a similar approach so by default even if not intentional countries make it difficult for anyone to travel.
The main Australian airline Qantas for example has as I understand it suspended all normal international operations until at least mid 2021 and similar with AIR NZ other than mainly cargo
As for flying being safe then people can agree to disagree but being on a plane is possibly safer at least than the actual airport part of a trip.
Anyway this was just for info even though the OP did not share which country they come from but travel for now is not as straight foward as it used to be