Sister I’m really disappointed reading your sad words. As you said that you have already tried to have good relationship with but it doesn’t work. As per Islamic Shariya concern in such situation you have only option that is to get divorce but this divorce would be a “ Khula” it means you will not supposed to get any Mahr money from your Husband if he has not paid it before. Also you can’t get divorce unless you give birth to your child. So you have to wait up the rest of your pregnancy time then you have to take any decision. But as you said in such situation they will not let you go to your parents therefore, first of all you have to manage anyhow to join with your parents and to your own country otherwise you can’t do anything legally in their country. So tell your parents your final decision and tell them about the situation and ask them to help you. I pray Allah (swt) help you and protect you from any harm.
If you have any question you may ask.