First, check the terms of your rental agreement. There may be a provision allowing for your early termination due to circumstances beyond your control, such as a relocation out of the area ... or having to leave the country under circumstances such as yours.
Secondly, there are many states with "renters rights" laws that allow you to leave a rental agreement early without penalty if you relocate a minimum distance away for any reason, such as a new job. Again, with your need to leave the country, that should easily qualify for the distance provisions to trigger that statute.
I'd certainly work with my landlord to let them know the situation. Given that you're not just voluntariyl picking up and leaving, but must do so by law, they may be willing to end your rental agreement in a timely manner. Their alternative is to see you just leave and then still have no tenant and no cash flow.