Shanghai Disney is the latest high-profile attraction to close its doors because of China's rigorous zero-COVID policy, locking visitors inside.

On Saturday, Shanghai recorded 10 locally transmitted cases. People have been advised that they will not be able to leave the theme park until a negative test is obtained.

Millions of people have already been detained under China's contentious zero-COVID policy, sometimes in odd settings. People rushed to the park's gates after hearing the announcement, but they were already shut, according to videos shared on the Chinese social networking site Weibo.

People have fled businesses and workplaces to avoid being stuck inside due to the abrupt natural lockdowns.

To cheer themselves up, Shanghai Disney guests can take solace in the fact that rides are still running for those who are confined within The Happiest Place on Earth. Nearby attractions including the commercial street and the amusement park were immediately shut down shortly after 11:30 local time (3:30 GMT).

The Shanghai government announced the park was closed to visitors in a post on the Chinese social media platform WeChat, adding that those who were already there may only leave after providing a negative test result. Those who have been to the park since Thursday must provide three negative test results over three straight days, it was noted.

The park's sudden closure comes just two days after it began operating at a reduced capacity to comply with COVID regulations.

This isn't the first time the park has unexpectedly closed. Last November, authorities ordered that everyone be tested as part of the contact tracing process, trapping 30,000 people inside.

Almost three years after China reported its first coronavirus case, officials across the huge country have continued to implement harsh and draconian measures in an attempt to halt virus transmission.

There is no word on when the park will reopen. Tickets will be valid for six months, according to Shanghai Disney, and refunds will be issued.

Chinese President Xi Jinping said earlier this month that the zero-COVID policy, which aims to eradicate all outbreaks, will not be relaxed and referred to it as a "people's war to stop the spread of the virus."

The Chinese government is sticking with the increasingly unpopular policy even though it is hurting the economy, with GDP declining by 2.6% in the three months to the end of June from the previous quarter.