So much for hanging loose.

NYPD cops hit the Rockaways on Sunday to slap surfers with summonses for riding waves as Tropical Storm Hermine swirled in the distance.

At least four surfers were ticketed for refusing to get out of the ocean amid strong riptides and 5- to 10-foot waves (such as the one above).

“We only get a couple of days a year for all the conditions to come together. It’s really disappointing,” grumbled Jay Harrison, 48, of New Zealand, who was nailed with a summons.

The hang-10 set was hit with the $80 summonses for “failing to comply.’’

“I’m going to fight it. There’s nothing dangerous about these conditions,” said Harrison, who was given a summons by a uniformed cop.

Another surfer, 67, fumed, “It’s just nonsense!”

Meanwhile, on Coney Island, two EMTs used a rope meant to keep swimmers out of the water to rescue a man who had ignored it.

Friends of the scofflaw, realizing he was in peril, flagged down the medics.

One EMT, Monique Wilson, dived in; her colleague, Maxim Furman, tossed her the rope and used it to pull them both back in.

“The riptide felt like I had a 300-pound guy pulling me back out to sea,” Wilson said.

The tropical storm warning was lifted for New York late Sunday, but Mayor Bill de Blasio warned people to stay off beaches, which remain closed to swimmers Monday.

“We have very, very serious riptides. They’re very dangerous,” de Blasio said.

The currents are among the strongest the city has seen in 10 to 15 years.

Still, the city will be spared the brunt of the bad weather. Monday is expected to be partly sunny and windy.

The Jersey Shore and eastern Long Island will see gusts up to 50 mph, waves up to 15 feet and coastal flooding.

“There will be a little bit of rain, but it won’t be a deluge. It’s definitely not another Sandy,” said AccuWeather’s John Gresiac.

Additional reporting by Natalie O’Neill, Tom Wilson and Sophia Rosenbaum