His ship however shipwrecked in Spain and captured by the Spanish, compelling him to remain there for many months, until his brother secured assistance from President of the United States James Monroe for his release.
Jeho loď však ztroskotala ve Španělsku a byla lapena Španěly, což ho donutilo zůstat tam po mnoho měsíců, než jeho bratr získal podporu od prezidenta Spojených států Jamese Monroea.