“He’s terrified,” said Mr. Enright’s lawyer, Jason A. Martin. “He’s shocked at the allegations. He’s just trying to cope with it right now.”

The violence that erupted during the cab ride came amid a heated and persisting national debate over whether to situate a Muslim community center and mosque two blocks north of ground zero. Upon learning of the attack on the cabdriver, some Muslim groups called for political and religious leaders to quiet tensions.

Nihad Awad, national executive director of the Council on American-Islamic Relations, said in a statement: “As other American minorities have experienced, hate speech often leads to hate crimes. Sadly, we’ve seen how the deliberate public vilification of Islam can lead some individuals to violence against innocent people.”

In a statement, Mayor Michael R. Bloomberg said, “This attack runs counter to everything that New Yorkers believe, no matter what God we may pray to.” He said he had spoken to Mr. Sharif and told him “ethnic or religious bias has no place in our city.” He invited him to come to see him at City Hall on Thursday.

The arresting officers said Mr. Enright seemed to be drunk, the police said, and a city official briefed on the investigation said there was an empty bottle of Scotch in his backpack. The police did not do a Breathalyzer test.

Mr. Sharif, however, said Mr. Enright did not appear inebriated to him.

Mr. Sharif, who lives in Jamaica, Queens, with his wife and four children, came to the United States about 25 years ago and was a cook before becoming a cabdriver 15 years ago. He said nothing of this nature had happened to him before. Recently, some passengers asked him about the center planned near ground zero, he recalled, and he replied that he was against it, that there was no need to put it there.