Mauritania's President Mohamed Ould Abdel Aziz is being transferred to Paris for treatment and examinations after being wounded when the military fired on his vehicle outside the capital.
Mr Aziz spoke on national TV from his hospital bed in Mauritania to reassure the public he was in good health.
He said the shooting was a mistake when his convoy approached a military barracks by an unpaved road north of Nouakchott.
The president's adviser said Mr Aziz was going to Paris for further treatment.
Mauritania's minister of communication had said that Mr Aziz was shot in the arm on Saturday.
Reports in local media indicated the military unit had not been told of the president's trip.
Mauritania has been destabilised by an al-Qaida affiliate, which has launched attacks from neighbouring Mali.