Jesus rest was in fellowshipping with His HolySpirit in prayer and meditation. He was refreshed and empowered by His HolySpirit to subsequently walk on water.