John the Baptist, through a terrible plot, is beheaded. When the news of his beheading reachs the Savior, Jesus crosses the sea and retires to a (remote) desert place. It appears that he is mourning and is looking for a place of solitude.
However, he is not permitted to do so because immediately upon arrival, a multitude of more than 5000 had followed him! What does Jesus do? He doesn’t turn them away. He administered to them first. Food is miraculously produced. At the end of the day, he compells his disciples to leave by boat, and then he himself “sent the multitude away”. I’m certain there were probably many personal exchanges in that dismissing of the multitude.
All this happened, while looming in the back of his mind was the death of his cousin, closest of kin.
This footnote on prayer simply illustrates how even Christ employed this tool for strength and guidance.