If the mentioned person is ill in such a way that he loses his mind and he is considered to be insane, by acting in a way that sane people do not act, even for a limited period of time, then the wife has the right to annul the marriage. Otherwise, the marriage can only be ended through the husband divorcing the wife. However, if the wife is willing to live with him and undertake her religious obligations to him and the husband is not willing to maintain her and provide for her, then the religious authority, the marja, can divorce the wife in this particular case if the husband refuses to divorce her.