A fishing boat was rescued after it got into difficulty near Stout Point in fading daylight.
The 37ft vessel called for help when its propeller and rudder were fouled by debris in the water late on Thursday afternoon.
It ended up drifting dangerously close to the reef of the beach at Llantwit Major amid easterly weather conditions and an outgoing tide.
The RNLI at Barry Dock sent out its all-weather lifeboat to rescue the fishing boat by tow, preventing it from the risk of running aground.
It was eventually taken to Barry Harbour and secured onto a swinging mooring following a four-hour operation. The crew on board the fishing boat were safe and unharmed.
Andy Gavan, coxswain at RNLI Barry Dock, said: "This shout highlights the importance of being prepared and responsive at sea."
"Thanks to the professionalism of the crew and their swift actions, we were able to assist the fishing vessel and prevent what could have been a much more serious situation."

Plan to change the face of a Welsh village
1,000 children vaccinated against Hepatitis A in Barry but there’s still time to protect your child
Plans have been approved to convert offices into a bedsit in Barry, despite police concerns
Police Appeal for Witnesses after Penarth Road collision
Penarth teacher to appear in new fly-on-the-wall S4C series
Barry Athletic bowler is county champion
Penarth Athletic launches public consultation on major rebuild nine months after devastating clubhouse fire
Barry Learner Secures Place to Study Medicine After Transformative Return to Education
Detectives release e-fit in Barry sexual assault investigation
39 year old from Llantwit Major charged in Thailand investigation
Joint RNLI Operation Rescues Grounded Vessel Off Lavernock Point
Warning Issued After Reports of Rogue Gutter Cleaners in Barry
Safety Checks to Begin at Hundreds of Vale Homes as National Grid Launches Inspection Programme
Senedd Members support calls for better paternity leave in UK-wide parent strike
Network Rail announces community engagement sessions on future of Brookside level crossing
Coastal Litter Pick Series Announced for Glamorgan Heritage Coast
Glamorgan Archives invites visitors behind the scenes to discover centuries of history
£200,000 Secured for Next Phase of Barry RFC Sports & Community Hub Redevelopment
Walk‑In Hepatitis A Vaccination Clinics Open in Barry as Health Board Expands Outbreak Response
Beloved Stanwell School teacher retires after inspiring generations for 35 Years