"Owen Glendower" then spent three months off Spanish Peru, during which she visited the Galapagos Islands. One of her midshipmen was Robert FitzRoy, who, as captain of , would take Charles Darwin there in 1834. While "Owen Glendower" was at Callao, the Chilean fleet attacked the port. However, Cochrane's forces were not strong enough and he was forced to retire. During the attack, Spencer moved "Owen Glendower" to expose a Chilean vessel that had tried to take cover behind her.