A coastguard spokeswoman said a member of the public had done the right thing to call 999.