Emergency custody order

Do judges ever sign emergency custody orders that would stop vistations of the non-custodial parent until that said parent starts to coparent and look at the childs best interest?

To get an emergency custody order, you have to argue that the child has been, or will potentially be, physically harmed or taken from the jurisdiction.