You don't swim in waves, you dive. Wave always win, that's why surfing is so cool, they don't even try to defeat the waves. Swimming in open waters makes only sence when the surface is calm or you dive and go up only to get some fresh air.
Swimming in open waters is dangerous. Like deadly. Just a bit of water in the lungs, getting out of breath and into panic, can and will kill.
A deep breath and a long dive until, like Pappillion on his last escape, you are inline with the rythm, is the way to go. Than its great.