The Maritime and Coastguard Agency of the United Kingdom recently rescued three men who were lost off the southern coast of Wales. The three men weren’t lost at sea—they ended up on a small deserted island after a night of drinking.

According to a report from the BBC, in the early hours of March 20th, the men anchored their cargo vessel, the Dutch-flagged Alana Evita, approximately two miles off the shore of Barry, South Wales. They left the vessel by inflatable boat in search of a good time at one of the town’s pubs. However, at some point during the night, they lost their way back to their ship due to heavy fog in the area, and ended up on the small island of Flat Holm.

[googlemaps https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d318794.8459107574!2d-3.415406213254313!3d51.373930420150536!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x486e019a95c3f2a1%3A0xc25a5ccb4914d475!2sFlat+Holm+Island!5e0!3m2!1sen!2sus!4v1554092906084!5m2!1sen!2sus&w=600&h=450]

When the men failed to return to their vessel, shipmates reported them missing, and the Maritime and Coastguard Agency launched a search and rescue mission involving “helicopters and rescue teams.” The agency was assisted by five lifeboats from the Royal National Lifeboat Institution (RNLI), according to a tweet by the Coastguard. Eventually, an ecologist working on Flat Holm discovered the men and called an RNLI team, which was able to return them to shore.