Small protests have broken out in Shanghai as residents grow increasingly frustrated with Covid-19 lockdown restrictions, just as Beijing looks to widen national support for its commitment to eliminating the coronavirus outbreak.

Shanghai residents in the Zhangjiang compound in the eastern Pudong district pleaded with police on Thursday to let them stay in their rented apartments after officers moved to requisition nine residential buildings for temporary quarantine facilities.

Videos of desperate residents being physically restrained by police dressed in white personal protective equipment following a confrontation in the street were quickly erased from Chinese social media.

The small, localized protests erupted after many of Shanghai’s 26mn residents had been locked in their apartments for several weeks, with many complaining of difficulty securing a steady supply of food and medicine.

“Shanghai” and “Zhangjiang” were among the top five censored words on Weibo on Friday, according to FreeWeibo, a website that collects censored posts on the Chinese social network.

The property company that runs the Zhangjiang compound on Friday issued a statement saying “the situation has subsided”. It added that it would compensate residents forced to leave their homes.

China is the only large country that remains wedded to a policy of eliminating the virus completely, leaving it increasingly isolated in the face of other economic pressures including commodity price inflation and a fall in property and car sales.

Economists have warned of the heavy blow lockdown measures will have on economic activity, with vital supply chains that support the country’s manufacturing industry clogged because of limitations on movement between regions.

Chinese state media and leaders this week sought to rally support for the restrictions, saying they were the only way to avert disaster for the country’s hospital system.