If any petitioner in an Indian child custody proceeding before a state court has improperly removed the child from custody of the parent or Indian custodian or has improperly retained custody after a visit or other temporary relinquishment of custody, the court shall decline jurisdiction over the petitioner's petition and shall forthwith return the child to his parent or Indian custodian unless the return would subject the child to a substantial and immediate danger or threat thereof.
W.S. 14-6-711