I have no access to your retainer agreement - what provisions does it contain about withdrawal? I expect that it provides that your lawyer can resign in the event of your unreasonable refusal of an offer of settlement, but I can only guess.

If the case has been filed, the lawyer would normally have to get court approval to resign. What happened?