Your divorce has nothing to do with your immigration status. If you get divorced, you get divorced. On the other hand, it does affect the status of your husband, which could be why he is threatening you. (However, this may change, as the current government is working to remove the 2 year conditional permanent residence for sponsored spouses, such as your husband.)
If your sexuality was not raised as a concern as part of your sponsorship application, it’s hard to see why it would come up because of a divorce.
If you are not sure what to do, you can email us at firstname.lastname@example.org for a consultation.