Aha, I will advise to be cautious in how you confront your previous employers over the passport side of this issue.  Companies in Qatar have this dishonest way of turning your passport in to the local police department and claiming that you absconded from your contract (basically disappeared w/o completing your contract), and asking those police to arrest you.  They will even be so helpful as to give them your company accommodation address and call to be certain that you are home when they arrest you.  Then you have no access to your embassy OR legal representation unless someone else does it for you. 

So go to the embassy FIRST, ask them for your options, then go talk to the bank.  It could be that your employers are only doing their duty by the bank, and not against you.  We do not know, because in either of your duplicate threads did you mention why you were terminated.  Either way, once they discover that you are trying to fix it yourself, they may try the absconder trick against you just to make trouble.  Be cautious!