How do I file an HSA full non medical withdrawal and closure so that the associated penalties are calculated on my filing?

Purpose for closure was returning to my home country.