 Prior to the arrival of the typhoon , officials in China ordered the evacuation of about 2 @.@ 3 million people , mostly in Zhejiang . The typhoon also resulted in the cancellation or delay of thousands of flights , with the two main airports in Shanghai closed for 30 hours . Officials near Matsa 's projected landfall were advised to lower the levels in reservoirs to mitigate the threat of flooding . In Zhejiang , officials set up shelters for about 35 @,@ 000 boats to prevent marine damage . Due to the potential for rough seas , officials closed the port at Ningbo and Shanghai and also canceled some ferry service . Matsa was predicted to be first typhoon to affect Beijing in 11 years by dropping heavy amounts of rainfall . Local officials advised water operators to lower water levels to prevent flooding . Up to 100 mm ( 4 in ) of rainfall was forecast for the city , and officials prepared to evacuate 40 @,@ 000 residents in the outskirts of the city . 
