1582 Here the Evangelist sets down how Christ escaped from their malice: first, the way he escaped; secondly, the effect this had on the people of making them question (v 56).
1583 The way he escaped was to hide himself and leave the presence of the Jews: for after their plan, he moved more cautiously and no longer went about openly among the Jews. He did not withdraw to a populated city, but into a remote region, a country near the wilderness, to a town called Ephraim; and there he stayed with his disciples.
1584 But did he lack the power by which, if he had wished, he could have lived publ...icly among the Jews and they would not do anything to him? Of course not. He did not do this because he did not have the power, but as an example for the disciples. This shows that it is not a sin if his faithful withdraw from the sight of their persecutors, choosing rather to evade the fury of the wicked by hiding, than kindle it more by showing themselves: "When they persecute you in one town, flee to the next" (Matt 10:23).
Moreover, Origen says that no one should place himself in danger; but when dangers are immediately threatening, it is very praiseworthy not to run from professing Christ or not to refuse to suffer death for the sake of the truth. No one should place himself in danger for two reasons. First, because it is very presumptuous to place oneself in danger, both on account of a lack of experience of one's own virtue, which is sometimes found to be fragile, and on account of the uncertainty about the outcome; "Let any one who thinks that he stands take heed lest he fall" (1 Cor 10:12). Secondly, lest by presenting ourselves to our persecutors, we give them the occasion to be more wicked and culpable: "Give no offense to Jews or to Greeks or to the church of God" (1 Cor 10:32).
Source: Commentary on John