MANDAMUS
POPE, Justice.Nancy Smith Trader and John Smith were divorced in Harris County in September 1976, and Nancy was awarded managing conservatorship of their daughter, Shannon Marie. On August 3, 1977, Nancy and John Smith signed an agreement by which Nancy agreed that John, who lives in Austin, Travis County, would have the temporary custody of Shannon and act as managing conservator for a period of one year, with an automatic month to month extension until either party gave notice in writ*235ing to the other of the cancellation of the agreement. The agreement recited that the arrangement for the temporary custody was in the best interest of Shannon.
Nancy Trader, the mother, agreed to the change of the managing conservatorship because she was planning to go to Singapore for a year. She returned to Austin, however, on January 13, 1978, after she failed to receive reports on Shannon’s progress. Four days later, upon John’s refusal to surrender Shannon, Nancy instituted habeas corpus proceedings in Travis County. The trial judge of the 126th District Court of Travis County on January 19, 1978, denied the petition for habeas corpus. The court’s order recited that there was then pending in both the original court of Harris County and also in Travis County a motion for the change of custody from Nancy to John Smith and “that it is in the best interest of Shannon Marie Smith that the custodial status quo be maintained until further order of this Court or the Court of Domestic Relations Number One of Harris County, Texas.” Nancy Trader now seeks a mandamus ordering the trial judge to grant the habeas corpus.
This is another case in which the trial court has failed to recognize the legislative scheme that the court of continuing jurisdiction is the one that has the exclusive power to reexamine its prior order which evaluated the best interest of the child. The Legislature. by enacting the Family Code adopted a scheme for handling parent-child matters in a manner that avoids forum shopping, races to the courthouse, child snatching, and the harassment of a parent by the other parent’s filing suits in random courts.
The first inquiry in any action concerning a modification of parent-child orders is that of jurisdiction. Section 11.05(a) of the Family Code is explicit in fixing the continuing jurisdiction of a court:1
Except as provided in Subsections (b), (c), and (d) of this section, when a court acquires jurisdiction of a suit affecting the parent-child relationship, that court retains continuing jurisdiction of all matters provided for under this subtitle in connection with the child, and no other court has jurisdiction of a suit affecting the parent-child relationship with regard to that child except on transfer as provided in § 11.06 of this code. [Emphasis added.]
The Court of Domestic Relations Number One, of Harris County, acquired jurisdiction over Shannon Smith in the divorce suit in which a final decree was rendered on September 27,1976. That court is the one that had the continuing exclusive jurisdiction over Shannon, and all other courts of Texas are required to respect its jurisdiction. See Koons, Jurisdiction, Venue, and Transfers in Suits Affecting the Parent-Child Relationship (Where All Parties Reside in Texas), 9 Tex.Tech.L.Rev. 243, 244-48 (1978).
Section 14.10 of the Family Code was designed to overrule that body of law which previously permitted a habeas corpus proceeding to put in issue anew the right to custody. Smith, Commentary on Title Two, Texas Family Code, 5 Tex.Tech.L.Rev. 389, 435-36 (1974). The section changed the rule applied in Herrera v. Herrera, 409 S.W.2d 395 (Tex.1966), and similar cases in which habeas corpus placed in issue the best interest of the child.
The habeas corpus proceeding under the Family Code may be filed in the courts of any county in which the child is found, as well as in the court of continuing jurisdiction, to enforce an outstanding order. McElreath v. Stewart, 545 S.W.2d 955 (Tex. 1977); Ex parte Jabara, 556 S.W.2d 592 (Tex.Civ.App.—Dallas 1977). Its purpose is to uphold the order of the court of continuing jurisdiction. Section 14.10 of the Family Code clearly expresses that purpose:
*236§ 14.10 Habeas Corpus2
(a) If the right to possession of a child is presently governed by a court order, the court in a habeas corpus proceeding involving the right to possession of the child shall compel return of the child to the relator if and only if it finds that the relator is presently entitled to possession by virtue of the court order.
(b) The court shall disregard any cross action or motion pending for modification of the decree determining managing con-servatorship, possession, or support of or access to the child unless it finds that:
(1) the previous order was granted by a court that did not have jurisdiction of the parties; or
(2) the child has not been in the relator’s possession and control for at least 6 months immediately preceding the filing of the petition for the writ.
(c) The court may issue any appropriate temporary order if there is a serious immediate question concerning the welfare of the child.
Two features of this present case differ from those which this court has already decided: (1) the Travis County trial court recognized that the court in Harris County had continuing jurisdiction and was the one which should reexamine the best interest of Shannon, but nevertheless, made temporary orders based on the child’s best interests, and (2) the change in Shannon’s possession from the mother to the father resulted from the parents’ agreement. Neither distinction is a sound legal basis for altering the legislative scheme for orderly disposition of these cases by the court that has continuing jurisdiction.
The court of continuing jurisdiction, so long as it has exclusive jurisdiction, is the one that also makes the temporary orders pending the trial on the merits about modification of the prior order. Tex.Fam. Code Ann. § 11.11. Otherwise, we revert to the practice by which several courts are simultaneously making temporary and final orders about the same child.
After the Harris County court rendered its order in 1976, the parents made the agreement by which the mother permitted the father to have Shannon on a temporary basis. Our question is whether the parents’ agreement ousted the jurisdiction of that court which had continuing jurisdiction. We hold that it did not. 59 Am. Jur.2d Parent and Child § 33 (1971); 67 C.J.S. Parent and Child § 11d(3), at 645-46 (1950). When, as in this case, there is an agreement, but the parents have again fallen into disagreement, it is the court of continuing jurisdiction that must become the final arbiter about the managing conservatorship. “Unfortunately, experience has shown that the question of custody, so vital to a child’s happiness and well-being, frequently cannot be left to the discretion of parents.” Ford v. Ford, 371 U.S. 187, 193, 83 S.Ct. 273, 277, 9 L.Ed.2d 240 (1962). We have previously enforced the prior order of the court that had continuing jurisdiction in instances in which the parents had voluntarily relinquished a child. Saucier v. Pena, 559 S.W.2d 654 (Tex.1977); Lamphere v. Chrisman, 554 S.W.2d 935 (Tex.1977).
Our holding that a parental agreement does not defeat a court’s continuing jurisdiction does not mean that the agreement has no significance. Many students of the parent-child relations make valid arguments that such matters as access, the details of visitation, and child rearing are often better resolved by responsible parents than by courts. Mayo, Access — Child’s Right or Parents’ Privilege? Should Court or Custodian Decide?, 5 Anglo Am.L.Rev. Ill, 123-27 (1976). The endless number of details incident to child rearing, the court’s lack of time and its crowded docket, the court’s lack of supervisory personnel, the inability to predict the future, and the advantages of resolving matters without the expense of court hearings, justify responsible parental arrangements, and we do not discountenance them nor declare them void.
*237A voluntary arrangement between the parties is a matter which a court should take into consideration in deciding who should be the managing conservator and whether an existing order should be changed. That does not mean, however, that any available court may intervene to make that decision. The court which is the court of continuing jurisdiction is the only court that should make the determination. The jurisdiction of the court of continuing jurisdiction should not be interrupted, inter-ferred with or divided by interim modification orders by other courts. When this cause was first brought to the attention of the district court of Travis County and it determined, as it did, that the Harris County District Court had continuing jurisdiction, it should have peremptorily granted the habeas corpus to protect and enforce the jurisdiction of the court of continuing exclusive jurisdiction. By such an order, the court of continuing jurisdiction could have more promptly made both temporary and final orders in the best interest of the child. Saucier v. Pena, 559 S.W.2d 654 (Tex.1977); Lamphere v. Chrisman, 554 S.W.2d 935 (Tex.1977); McElreath v. Stewart, 545 S.W.2d 955 (Tex.1977); Standley v. Stewart, 539 S.W.2d 882 (Tex.1976). Jones, Child Custody Modification and the Family Code, 27 Baylor L.Rev. 725 (1975); Smith, Commentary on Title Two, Texas Family Code, 5 Tex.Tech.L.Rev. 389, 435-36 (1974).
It is assumed that Judge Dear will vacate his order denying Nancy Trader’s application for habeas corpus and that he will grant the requested writ. A writ of mandamus will issue only if he declines to do so. Pursuant to Rule 515, Texas Rules of Civil Procedure, no motion for rehearing will be entertained.
Concurring opinion by DANIEL, J.. There are exceptions which are not here applicable. Tex.Fam.Code Ann. § 11.05(b)—(d) & § 11.06.
. Subsection (b)(1) is not applicable in this case and the trial judge expressly found that the 6 months provision of (b)(2) did not apply.