In the middle of Jesus's discussion with the Jewish leaders, he decides to change his analogy. Jesus decides to describe himself as a shepherd—the good shepherd and the shepherd's gate.
For us, that image seems quant and sentimental, but it was a prophetic indictment of the way in which Israel's leaders were caring for their own flock. Jesus offered the test of a truly good shepherd, he would lay down his life for his sheep.