If you would need to file a return, then you would need to again use a 1040NR which TurboTax does not support but our partner Sprintax.com does. They will be able to help you with or IF you have any filing requirements due to having a HSA.
If you gave up your Green Card status and no longer are a resident of the US, then you do not have any filing requirements unless you earn money in the US or from US sources. Sprintax.com would be able to guide you as to whether or not you have to file when you sell your investments or do anything with your HSA.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"