Thick mud and debris coated many villages around the Philippine capital Friday after a typhoon caused extensive flooding that sent people fleeing to their roofs and killed at least 39 people.

Thousands of people have been rescued, though waters have mostly receded. The military was rescuing people in places where waters remained high.

More Images
Vehicles are seen submerged in flood waters due to heavy rains brought by Typhoon Vamco in Marikina City east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Thick mud and debris coated many villages around the Philippine capital Friday after a typhoon caused extensive flooding that sent people fleeing to their roofs and killed at least 39 people.

Trapped residents ride a police truck after a rescue operation in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

“We’ll continue to look for the missing, help in damage assessment,” Gapay said. He reported 39 deaths and 32 other people missing.

Residents look out from the window of their house as flood waters rise due to Typhoon Vamco in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

At least 3.8 million households lost power in metropolitan Manila and outlying provinces, but crews have restored electricity in many areas and power was expected to be fully restored in about three days. Government offices were closed and classes suspended for public schools Friday.

Rescuers carry a rubber boat to save trapped residents after flood waters inundated their homes due to Typhoon Vamco in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Associated Press journalists Aaron Favila and Joeal Calupitan contributed to this report.

Rescuers assist trapped residents during a rescue operation in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Rescuers assist trapped residents during a rescue operation in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Amphibious assault vehicles usually used in counter-insurgency operations were deployed for the rescue work, military chief of staff Gen. Gilbert Gapay said in an emergency meeting with disaster-response officials.

Vehicles are seen submerged in flood waters due to heavy rains brought by Typhoon Vamco in Marikina City east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Vehicles are seen submerged in flood waters due to heavy rains brought by Typhoon Vamco in Marikina City east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

“We’ll continue to look for the missing, help in damage assessment,” Gapay said. He reported 39 deaths and 32 other people missing.

Typhoon Vamco passed north of Manila between Bulacan and Pampanga provinces overnight Wednesday and early Thursday, toppling power poles and trees and damaging homes.

More than 350,000 people had been evacuated to safety, mainly residents fleeing vulnerable coastal and low-lying areas before the typhoon hit. Philippine National Police said more than 100,000 people had been rescued, including 41,000 in the capital region.

Trapped residents ride a police truck after a rescue operation in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Trapped residents ride a police truck after a rescue operation in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

At least 3.8 million households lost power in metropolitan Manila and outlying provinces, but crews have restored electricity in many areas and power was expected to be fully restored in about three days. Government offices were closed and classes suspended for public schools Friday.

Vamco hit the Philippines on the heels of Typhoon Goni, one of the strongest typhoons in the world this year, which left more than 30 people dead or missing and damaged or destroyed 270,000 houses. Tens of thousands of people remain displaced.

The Philippines is hit by about 20 typhoons and tropical storms each year and also had active seismic faults and volcanoes, making it one of the world’s most disaster-prone countries.

Residents look out from the window of their house as flood waters rise due to Typhoon Vamco in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Residents look out from the window of their house as flood waters rise due to Typhoon Vamco in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Associated Press journalists Aaron Favila and Joeal Calupitan contributed to this report.

Rescuers carry a rubber boat to save trapped residents after flood waters inundated their homes due to Typhoon Vamco in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Rescuers carry a rubber boat to save trapped residents after flood waters inundated their homes due to Typhoon Vamco in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Rescuers assist trapped residents during a rescue operation in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)

Rescuers assist trapped residents during a rescue operation in Providence village in Marikina City, east of Manila, Philippines, Thursday. Nov. 12, 2020. The typhoon swelled rivers and flooded low-lying areas as it passed over the storm-battered northeast Philippines, where rescuers were deployed early Thursday to help people flee the rising waters. (AP PhotoBasilio Sepe)