After handing over the Viceroy's post to Afonso de Albuquerque and leaving for Portugal in November 1509, Almeida was himself killed in December in a skirmish against the Khoikhoi tribe near the Cape of Good Hope, along with 70 other Portuguese – more than in the Battle of Diu.