A habeas corpus petition is meant for cases of illegal confinement, not for a husband and wife arguing over who should have their daughter while the marriage falls apart. The Gujarat High Court made that distinction plainly in a case where the asserted cause of the marital breakdown was, by the wife's own account, her husband's excessive use of ChatGPT. A division bench of Justice Ilesh J. Vora and Justice R.T. Vachhani dismissed the father's petition, holding that a mother's custody of her young daughter could not be treated as unlawful detention simply because the father wanted the child back.
The facts, as recorded in the petition, were straightforward. The couple's daughter was about two years old. According to the wife's reply to a legal notice her husband had sent her, he had taken to using ChatGPT so heavily, for tasks as minor as routine daily decisions, that it became a source of friction between them. She eventually left the matrimonial home and took the child with her. The husband responded not by filing a custody application before the family court but by moving the High Court directly in habeas corpus, framing his wife's continued care of their daughter as unlawful confinement that only a writ could remedy.
Such a characterisation did not persuade the bench, and neither did the choice of forum. A writ of habeas corpus tests whether a person is held without legal authority. A mother caring for her own young child in her own custody is not holding anyone unlawfully; she is exercising what the law treats as a natural guardian's role, particularly where the child is of an age at which courts routinely presume the mother's care to be in the child's interest absent some specific finding against her. The court found no such finding here, and nothing on the record suggested the child was unsafe, mistreated or being kept from the father through force or deception.
That left the father's underlying grievance, that he wanted custody or at least access to his daughter, unaddressed on the merits, but not unaddressed as a matter of law. The bench noted that proceedings for permanent custody were already pending before the family court, which is the forum equipped to weigh both parents' claims, examine the child's welfare in detail, and arrive at an arrangement, whether shared custody, visitation rights or something else, suited to the family's actual circumstances. A habeas corpus petition before the High Court was never going to be a substitute for that fact-intensive inquiry, and the court declined to let it become one.
What stands out beyond the result is how incidental the ChatGPT detail actually was to the court's reasoning, even as it dominated the coverage the ruling received. The wife's account of her husband's AI habit explained why the marriage had soured; it did nothing to convert her custody of their daughter into illegal detention, and the bench's order does not appear to have dwelt on it at all. The legal question was the same one courts face in any habeas corpus petition brought by one parent against the other: is there confinement without lawful authority, or is there simply a custody dispute dressed up as one. Here it was unmistakably the latter.
For family law practitioners, the ruling is a reminder that habeas corpus remains a poor substitute for a custody petition wherever the child is already with a parent exercising ordinary guardianship, however acrimonious the marriage behind the dispute might be. A father in the petitioner's position gains little by seeking a writ meant for unlawful detention when what he actually wants is a custody or visitation order; the family court, not a habeas corpus bench, is where that claim has to be made and proved. Framing a custody dispute as a liberty question tends only to delay the inquiry the parent actually needs, since the High Court will, as it did here, send the matter back to where it belongs.