Jesus dismisses the crowd and prays alone
The crowd wanted to make Jesus king, but he dismissed them. He prayed on a mountain alone while his disciples left in a boat.
Key passages
Mt 14:22–23

And immediately he made the disciples get into the boat and go ahead of him to the other side, while he sent away the crowds. And after he sent away the crowds, he went up on the mountain by himself to pray. So when evening came, he was there alone.

Mk 6:45–46

And immediately he made his disciples get into the boat and go on ahead to the other side, to Bethsaida, while he himself dismissed the crowd. And after he had said farewell to them, he went away to the mountain to pray.

Jn 6:14–15

Now when the people saw the sign that he performed, they began to say, “This one is truly the Prophet who is to come into the world!” Then Jesus, because he knew that they were about to come and seize him in order to make him king, withdrew again up the mountain by himself alone.