This is what happens when a storm travels close to shore. The swell jacks up, then gets beat back down as the storm passes north of you, with the heavy offshore winds. Also when it is close the duration of the swell (how long it lasts) is shorter regardless of the wind.