In 1502, Gonçalo was transferred to Cannanore, and Barbosa went with him. There, Barbosa learned Malayalam, the local language. Barbosa served as the interpreter for Alfonso de Albuquerque's contact with the Rajah of Cannanore the next year. In 1513, Barbosa signed a letter to King Manuel I of Portugal as Clerk of Cannanore, claiming the position of master-clerk, and the year after that, Afonso de Albuquerque used Barbosa's position as an interpreter to attempt to convert the King of Kochi.
''Book of Duarte Barbosa''
In 1515, Albuquerque sent Barbosa to Kozhikode to oversee the construction of two ships that would serve on an expedition to the Red Sea under the new governor. Barbosa returned to Portugal and completed his manuscript, Book of Duarte Barbosa. According to Italian writer Giovanni Battista Ramusio's preface, Barbosa completed his manuscript in 1516 with detailed accounts of foreign cultures. Previously known only through the testimony of Ramusio, the original manuscript was discovered and published in the early nineteenth century in Lisbon, Portugal.
Circumnavigation with Magellan
Displeased by his position, Barbosa joined several Portuguese meeting in Seville in southern Spain. Diogo had followed D. Álvaro of Braganza into exile in Seville where Álvaro had become mayor, where Diego became governor of the castle of Seville. In 1516 Ferdinand Magellan moved to Seville and befriended Diogo, both having traveled to India. Soon Magellan married Barbosa's sister Beatriz, becoming Duarte Barbosa's brother in law, strengthening the links between the Barbosa and Magalhães families. On 10 August 1519 Duarte Barbosa sailed from Seville on Magellan's voyage of circumnavigation, along with his friend João Serrão. His curiosity led him to leave the expedition for the company of locals several times during the voyage, to Magellan's annoyance. Magellan even came to arrest him. On 2April1520, however, the help of Duarte Barbosa was crucial to facing down a riot in Puerto San Julian, and thereafter Barbosa become captain of the Victoria. According to Antonio Pigafetta's account, after Magellan's death on 27April1521 at the Battle of Mactan, Barbosa was one of the few survivors of the battle and was made co-commander of the expedition along with João Serrão. Barbosa tried to recover Magellan's body without success: He tried to land Enrique of Malacca, but gave up. Despite the manumission he was entitled to according to Magellan's will made before departure, Duarte Barbosa or João Serrão then threatened to enslave to the Magellan's widow. The fear of Enrique has since been considered an argument for him conspiring with Rajah Humabon. On 1 May1521 all were invited by the rajah to a banquet ashore near Cebu, the Philippines, to receive a gift for the king of Spain. There Barbosa and many others were killed. João Serrão was brought by natives who wanted to exchange him for weapons, but was left behind and was saved by the pilotJoão Carvalho. Enrique disappeared.