DAKAR, Senegal — A former Guantánamo Bay detainee resettled in Senegal, who said that he feared for his life if he was forcibly taken to his native Libya, has disappeared from his once-guarded apartment in Dakar that now appears abandoned.

The Senegalese government had said the man, Awad Khalifa, was not being deported. But neighbors said Mr. Khalifa and another former detainee from Libya, Salem Abdul Salem Ghereby, were taken away on Tuesday afternoon. Hours earlier, they had told a New York Times reporter visiting the apartment that they had received handwritten notices that they would be sent to Libya.

“In Libya, I will have no life, and there’s no security there,” said Mr. Khalifa, adding that when he told friends he was being sent home, “They told me I’m going to my death.”

Mr. Ghereby, who said he had family in Libya and connections protecting him there, apparently consented to repatriation. He contacted the international human rights organization Reprieve on Thursday from an airport in Tunisia saying he was en route to Libya. No one had been in touch with him since, and neither the Senegalese nor the American government would disclose the whereabouts of either man.