His Tweet of 24 July seems to suggest he will be leaving a free man.
John McAfee
Verified account
@officialmcafee
Jul 24
Leaving detention (don't judge my looks - four days of confinement). I was well treated. My superiors were friendly and helpful. In spite of the helpful circumstances, we've decided to move on. More later.