The U.K. Maritime and Coastguard Agency shared a video of the coordinated response that led to a dog’s rescue.

As the animal drifted to sea off the coast of a Scottish village, coastguard crew members responded in a boat as personnel in a helicopter kept an eye on the dog.

A short time later, the MCA updated those following the story with a close-up picture of the pup.