Were you a citizen or permanent resident of the country you call home? As far as I know almost no countries put restrictions on their own citizens from returning. Some had quarantine requirements.
No restrictions, but they offered no way of getting home either. My colleague had the same problem when she wanted to visit her dying grandfather in Japan. They weren't letting sick people in even if they did manage to get on a flight. For me the problem was mostly the flight.