Here's more in John 19, that I feel says that Pilate tried his hardest without being killed, to have Jesus released.
4Once more Pilate came out and said to the Jews, "Look, I am bringing him out to you to let you know that I find no basis for a charge against him."
5When Jesus came out wearing the crown of thorns and the purple robe, Pilate said to them, "Here is the man!"
6As soon as the chief priests and their officials saw him, they shouted, "Crucify! Crucify!"
But Pilate answered, "You take him and crucify him. As for me, I find no basis for a charge against him."
7The Jews insisted, "We have a law, and according to that law he must die, because he claimed to be the Son of God."
8When Pilate heard this, he was even more afraid,
9and he went back inside the palace. "Where do you come from?" he asked Jesus, but Jesus gave him no answer.
10"Do you refuse to speak to me?" Pilate said. "Don't you realize I have power either to free you or to crucify you?"
11Jesus answered, "You would have no power over me if it were not given to you from above. Therefore the one who handed me over to you is guilty of a greater sin."
12From then on, Pilate tried to set Jesus free, but the Jews kept shouting, "If you let this man go, you are no friend of Caesar. Anyone who claims to be a king opposes Caesar."
That last sentence in my opinion could have had Pilate condemned as a traitor, if he let Jesus go.