Answer:
By walking or swimming.
Step-by-step explanation:
In John chapter 6 and verse 22, after performing the sign of the multiplication of food, Jesus withdrew to the other side of the mountain. He knew that the crowd intends to make Him their King, forcefully because He has performed a sign of the multiplication of food.
After the crowd saw that Jesus is not there, and that the only boat which was there is not used; that Jesus has not entered into the boat with His disciples, they assumed that Jesus would have gone to the other side either by walking or swimming.