What do you call the remains of a wave, the part that reaches the shore?
I've always called it surf.
the mass or line of foam formed by waves breaking on a seashore or reef.
Definition from Oxford Dictionary
You can also call them- breaker, breakers, or surf
- waves breaking on the shore
- a heavy sea wave that breaks into white foam on the shore. (MW)