, ▁bound ▁for ▁Peru . ▁By ▁ 6 ▁February ▁ 1 8 1 3 ▁Sir ▁Andrew ▁Hamm ond ▁was ▁at ▁Rio ▁de ▁Janeiro , ▁on ▁her ▁way ▁to ▁Peru . ▁she ▁had ▁had ▁to ▁put ▁in ▁there ▁as ▁she ▁had ▁spr ung ▁her ▁main m ast . ▁ ▁Capt ure ▁by ▁Spain ▁Sir ▁Andrew ▁Hamm ond ▁was ▁off ▁Val par ais o ▁on ▁the ▁night ▁of ▁ 2 4 – 2 5 ▁May ▁when ▁she ▁encountered ▁the ▁Spanish ▁private er ▁J av iera ▁( aka ▁Nu estra ▁Se ñ ora ▁de ▁I ci ar ), ▁Captain ▁José ▁Gand aria . ▁J av iera ▁was ▁cru ising , ▁looking ▁for ▁vessels ▁sm ugg ling ▁cont rab and ▁to ▁the ▁Chile an ▁revolution aries . ▁Although ▁Sir ▁Andrew ▁Hamm ond ▁had ▁a ▁letter ▁of ▁marque , ▁Captain ▁Por ter ▁was ▁dr unk ▁and ▁attempted ▁to ▁escape , ▁leading ▁J av iera ▁to ▁set ▁out ▁in ▁purs uit . ▁J av iera ▁captured ▁Sir ▁Andrew ▁Hamm ond ▁and ▁in ▁mid - J une ▁they ▁arrived ▁at ▁Cal la o . ▁During ▁the ▁trans it ▁the ▁prize ▁crew ▁v andal ized ▁Sir ▁Andrew ▁Hamm ond . ▁( Some ▁months ▁earlier ▁J av iera ▁had ▁det ained ▁ ▁on ▁similar ▁grounds .) ▁ ▁At ▁Cal la o ▁the ▁Naval ▁Court ▁ruled ▁that ▁Por ter ' s ▁attempt ▁to ▁fle e ▁just ified ▁the ▁det ention . ▁However , ▁as ▁he ▁had ▁the ▁correct ▁paper work ▁and ▁there ▁was ▁no ▁evidence ▁of ▁cont rab and , ▁the ▁court ▁ordered