If a court determines at a hearing that a petitioner in an Indian child custody proceeding 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 petition and immediately return the child to his or her parent or Indian custodian unless returning the child to his or her parent or Indian custodian would subject the child to a substantial and immediate danger or threat of danger.
MCL 712B.19