Yes, color me confused as well; if he was this great Israeli spy, why did they chuck him in prison and apparently throw away the key?
It’s all very strange.
Simple really, he wanted to retire.