Mandatory withdrawal There are many circumstances which require that an attorney must withdraw from a case:
The client fires the attorney. The attorney determines that he is not competent to continue representing the client in a matter. A conflict of interest arises under which the attorney's continued representation of multiple clients impairs the attorney's obligations to the individuals. The client insists upon advancing a frivolous claim. Continued representation would violate the rules of professional responsibility. The attorney is in a physical or emotional state that seriously impairs the attorney's ability to continue the representation. It is likely that the attorney will be called as a necessary witness as to a contested issue in the proceeding, and that testimony cannot be obtained elsewhere. The attorney discovers that the client is using the attorney's services to further a criminal act.
Forgot to add this did you? Especially the first one.