Remember Cyprus.
that was not really a bank, now was it. I am talking more about banks such as: Barclays, Bank Of America. Standard Bank, etc.
The banks in that country had to restrict the amount of money their deposit holders could transfer to banks outside of the country and essentially gave deposit holders a haircut because the banks as a whole were in such bad shape.