The man raised his arms to signal his dog on the rocky beach.