The eccentric creator of the eponymous cybersecurity software was arrested along with his entourage by Dominican immigration authorities.
McAfee, 73, who is on the run from U.S. tax authorities, was detained after docking his yacht, named Great Mystery, in Puerto Plata on the Dominican Republic’s northern coast.
The Public Ministry said it seized the firearms and ammunition found on the yacht.
McAfee posted on Twitter that he was leaving detention after “four days of confinement” and said that despite being treated well, he and his gang, which included his wife, Janice McAfee, who was also detained, had “decided to move on.”
The entrepreneur recently told Reuters in an interview that he could help Cuba evade the U.S. government too – by launching a cryptocurrency that defeats a U.S. trade embargo.
His past includes fleeing Belize where he lived for several years after police sought him for questioning in the 2012 murder of a neighbour.
McAfee reportedly told Wired magazine that he had nothing to do with his neighbour’s death, but feared police in the Central American country would kill him if they found him.
He said he hid in the sand when he saw police coming to his house and put a cardboard box over his head to breathe.
McAfee told Wired that whoever shot his neighbour may have been gunning for him instead and mistakenly killed him.