Travancore: van Gollenesse refused to oblige, citing scarcity of soldiers and weapons. In June 1742, the Travancore army attacked Kollam, which was defended by Nair soldiers led by Achyuta Wariar. During the siege, the Dutch provided counsel, rice and ammunition to the ruler of Kollam. Marthanda Varma made several unsuccessful attempts to capture Kollam, Marthanda and ultimately withdrew after losing 6,000 soldiers in the conflict. Attempts at peace After Travancore's failure to capture Kollam, van Gollenesse again sought 2,000 soldiers from Batavia, mentioning that the number of soldiers required would rise to 5,000 if the ruler Kozhikode (the Zamorin of Calicut) joined the war. By 1742, the Dutch command in Malabar had spent enormous amount of money for defending their allies against Travancore's aggression, but had not gained much from this investment. The lack of funds and support from Ceylon and Batavia prompted the Dutch to resume negotiations with Travancore. Marthanda Varma, who had not responded positively to the Dutch attempts at negotiations in the past, agreed to a peace treaty this time. On 17 February 1742, Marthanda Varma offered peace to the Dutch on the following terms: Travancore would return all prisoners of war from Colachel, except those who had taken service with Marthanda Varma Travancore would return all the Dutch arms and ammunition that escaped the destructive fire at Colachel The Dutch would return all of Travancore's arms and ammunition captured at Kollam, Karthikapally, Colachel, and Thengapatanam Both parties would give up claims on any other losses suffered during the war Travancore would retain the parts of Kollam conquered in July 1739, Kottarakkara, Kunnattur, Majnore, Maruthurkulangara, and Karthikapally. The Dutch would be allowed to continue their pepper trade in these areas as usual. Travancore would recognize the Dutch claim on Attingal when the Dutch would present their agreement with its ruler Travancore would sell 1000 candies of pepper to the Dutch, and would be free to sell 200 candies to anyone The Dutch would be allowed to build a fort at Colachel, and in return, would help Travancore against the French if needed Travancore would comply with the contracts signed by the Dutch with the vassal states of Travancore, if the Dutch could produce the signed documents The disputes between the rulers of Travancore and Kollam would be settled by two impartial princes The Dutch rejected these terms, and presented their own terms, which were rejected by Marthanda