As soon as Judas had taken the bread, he went out. And it was night (John 13:30).
The chapter began with satanic influence on Judas. In verse 2 John says,
The evening meal was being served, and the devil had already prompted Judas Iscariot, son of Simon, to betray Jesus (John 13:2). Here you see that Judas’s greed has given the devil an opportunity. When we resist God’s love and follow a determined march toward evil, it gives the devil opportunity. And he had the opportunity to implant thoughts in Judas’s heart that would take deep root immediately. So he had already put it into Judas’s heart to betray Jesus; the deal had been arranged. When Jesus gave him the morsel and Judas took it and ate it without a word or a sign of repentance or remorse, he passed the point of no return.