Rescue services were called after an unmanned 40ft yacht lost its mooring and got stuck in rocks near Heysham power stations.
Morecambe RNLI said they were called out to a yacht in distress at around 10.30am on Sunday.
A Morecambe lifeboat crew spokesperson said they'd received reports that the boat had lost its mooring from Fleetwood and was drifting dangerously close to the shipping lane near Heysham, completely unmanned.
"This situation presented a serious risk, not only to the yacht itself but also to commercial and personal vessels in the area," said an RNLI spokesperson.
"In response, our D-class Lifeboat quickly made its way to the scene to assess the situation.
"Upon arrival, the crew faced a challenging scenario: the 40ft yacht was lodged between rocks, situated near the outflows at the rear of the power station. Its position complicated any immediate extraction efforts.
"The lifeboat remained on scene, vigilantly monitoring the conditions as the tide gradually receded.
"After careful evaluation, the crew, in collaboration with MRCC HM Coastguard Holyhead, developed a strategic rescue plan that hinged on the owner's return to the vessel for steering assistance.
Below, the yacht. Image: RNLI

"After an extensive and demanding 18-hour operation, the yacht finally floated free from the rocks.
"Our skilled crew expertly escorted the vessel back to Morecambe, where it was securely placed on a temporary mooring.
"We returned to our station at 04:30hrs (Monday) this morning, tired yet accomplished."
Paul Turner, lifeboat operations manager at Morecambe, said: "Incidents like this call upon the full range of expertise from our volunteer crew, highlighting their unwavering commitment, determination, and resilience.
"On behalf of the RNLI, I want to extend our heartfelt gratitude to these exceptional individuals whose efforts made this rescue a success."
The RNLI also thanked MRCC Holyhead, HM Coastguard Team Morecambe and Lancashire Police


Lancaster youth charity launches 10 Challenges campaign
£30k campaign launched for new Lancaster community farm
Carnforth chiropodist honours her late husband with clinic fundraiser
Lancaster City Council agrees 2.99 per cent rise in Council tax share
Lancashire Police’s share of Council tax to rise by 5.4 per cent
Guys Thatched Hamlet closes suddenly after 46 years
Teenager spared jail for causing death of newborn child in Morecambe
Morecambe Town Council agrees budget and 2.46 per cent rise in Council tax share
Builders of new Lancaster housing development offer £2k cash pot to community groups
Lancaster centre welcomes mayor for opening of new community kitchen
Lancaster shop to close as high street gaming chain faces administration
Jim Bentley returns for second spell as Morecambe FC manager
Ashvir Singh Johal’s reign as Morecambe manager comes to an end
Lancaster writer's ghost story of Morecambe to be voiced by acting legend on Radio 4
Change of name announced for popular Morecambe bar
Opening announced for new Morecambe bistro inside former post office
Health watchdog report shows improvements to services at Royal Lancaster Infirmary
LISTEN: How Leo's Gym is making a difference in memory of young Morecambe boxer
LISTEN: Lancaster set to celebrate Chinese New Year
Lancaster’s Vue Cinema under new ownership

