Two people were rescued from the stranded boat "Lady Max" off the coast of Encinitas, Lifeguards said.
The Coast Guard Sector San Diego received a Digital Selective Calling distress alert, telling them the boat was close to Beacon's Beach, at around 3:30 a.m.
Coast Guard officials, assisting local lifeguards in the rescue, made radio contact with the sailing boat, "Lady Max."
The radio was connected to a GPS device, Cmdr. Rob Potter, the chief of response and air operations at Coast Guard Sector San Diego, said, making the rescue a lot easier.
In an hour, lifeguards found the boat. On the boat, two people with life jackets were waiting.
"It is vitally important that radios and all electronic signaling devices are properly registered," Potter said. "It is only when the device is registered and connected to a GPS can the Coast Guard quickly determine a lot of relevant information that can significantly speed up the rescue process."
Officials found the boat stuck on rocks off Ponto Beach with two people on board.
The two people on board were not injured and rescued safely.
TowBoatU.S. towed the boat back to Mission Bay in San Diego.
No further information was available.