Widespread flooding and landslides set off by a tropical storm in the northeastern Philippines on Thursday left at least 23 people dead, swept away cars and prompted authorities to scramble for motorboats to rescue trapped villagers, some on roofs.

The government shut down schools and offices — except those urgently needed for disaster response — for the second day on the entire main island of Luzon to protect millions of people after Tropical Storm Trami slammed into the country’s northeastern province of Isabela after midnight.

The storm was blowing over Aguinaldo town in the mountain province of Ifugao after dawn with sustained winds up to 95 kph and gusts up to 160 kph. It was blowing westward and was forecast to enter the South China Sea later on Thursday, according to state forecasters.