Rescue crews retrieved a boy and a 39-year-old man from the ocean in Half Moon Bay Sunday afternoon, officials said.