Throughout the war, Madeira remained neutral but kept faithful to the agreement found in the Treaty of Windsor of 1386. This meant that Madeira helped Britain by providing a base for resupply and shelter; they also came to the assistance of roughly 2000 citizens of Gibraltar who were evacuated from their home country.