14 people have been injured following an accident involving a funfair ride at Coney Beach in Porthcawl.
Emergency services were called out after the Wacky Worm rollercoaster derailed at around 5.50pm on Wednesday evening.
South Wales Police said 13 children and an adult have sustained minor injuries and some of the casualties have been taken to hospital for treatment.
The amusement park, which is due to close in October, will remain shut on Thursday while a health and safety investigation is carried out.
A police spokesperson urged the public to continue avoiding the area to allow access to emergency services.
They added: "We are aware of video and images of this incident circulating on social media. Please be considerate to those involved and refrain from sharing these."
In a statement, a spokesperson for Coney Beach said they were instructed to clear the site by police following "an incident on a third-party ride" not owned by the funfair.
They added: "We apologise for the disruption and will be providing refunds to affected guests as soon as possible. We will be releasing instructions on refunds shortly."
The Coney Beach site, which is owned by the Evans family, was recently purchased by the Welsh Government for a major waterfront regeneration project, which will include 1100 new homes, a primary school, shops and restaurants.
It opened in 1918, having taken its name from the famous New York amusement park at Coney Island.
Announcing the forthcoming closure last month, the owners said: "For over 100 years, we and other showmen and their families have lived and worked in Porthcawl, helping to make it a busy seaside destination bringing fun, laughter, and fond memories to so many."
"We will miss it greatly and while we are sad to see our time here come to an end, we are forever grateful to have had the opportunity to have been part of so many generations of families' lives, young and old."

Dispersal Order issued at Cosmeston as council warns of ‘extremely dangerous’ behaviour
Three Rescues in 24 Hours as RNLI Barry Dock Urges Caution Around Sully Island
Police Investigate ATM Theft in Cowbridge After Pensioner Targeted
Break‑In at St Athan Community Centre Forces Volunteers to Divert Funds from Upcoming Events
Vale Students Celebrate Strong A and AS Level Results
Llantwit Major School Celebrates Record-Breaking A Level Success
Senedd recess: What have the Welsh political parties been up to so far?
Vueling withdraws winter flights to Aicante this winter
Playground in Barry forced to close after fire damages equipment
Campaigners Take Fight for Fairer Pathways in Welsh Women’s Football to Parliament
Vale Councillor Gwyn John Launches His First Novel at Llantwit Major Book Signing
Pink poppy display commences with celebration of life
Former Barry office block converted into new homes for people at risk of homelessness
Welsh Government publishes independent report on Level 4 intervention at Cardiff and Vale UHB
Three CoastSnap stations set to be installed along the Glamorgan Heritage Coast
Daffodil Runner statue installed at Marie Curie Hospice in Penarth
Woman Dies After Incident in Leckwith as Police Investigation Continues
Vale entrepreneur wins national Innovate UK award for sustainable construction technology
Cardiff Airport retains top accessibility rating as regulator reports record demand for assistance
Open Doors event to showcase hidden world of Glamorgan Archives