A Massachusetts woman had been seeking custody of her two young children.