There have recently been some very high-profile cases of men refusing to give their wives Gittin (plural for "Get", the Jewish divorce document required to free a woman to remarry).
Reading about one of these cases led me to read about a husband who had abandoned his family and disappeared underground without giving his wife a Get. Nobody seems to know where he is, not even those who might be inclined to defend him from charges of abandonment.
There may be any number of reasons why this man disappeared, but somehow one strange possibility jumped out at me: what if he's become a woman? Suppose he were tracked down, despite this drastic change. At that point, Halachically, could he give his wife a Get if he wanted to? Would he still have the status of a man, at least for that purpose? Would he be deemed by Halachah as mentally competent to give the Get?