It had gone just as Brian Cashman hoped — an exhilarating ride, followed by a smooth landing. His skydiving mission with the Golden Knights, enacted to raise attention for the Wounded Warrior Project, was a success.

“It was insane!” the Yankees’ general manager shouted.

But moments later yesterday morning, an enthusiastic staff sergeant here at the Homestead Air Reserve Base asked what seemed like an innocent question: “Ready to go again?”

And that’s when the day turned considerably more insane than Cashman desired. When Cashman became the latest snake-bit Yankees veteran.

Cashman, thinking the sergeant meant something more like, “Would you ever do this again?” responded, “Sure!” The sergeant meant, “Right now,” and Cashman looking wary, told The Post’s Charles Wenzelberg he wished he hadn’t opened his mouth.

Sure enough, a nasty landing on jump number two left Cashman with a broken right fibula and dislocated right ankle, and he underwent an initial surgery at Homestead Hospital and headed to Broward Health Medical Center for a second procedure. Both jumps were done in tandem with U.S. Army Sergeant First Class Noah Watts.

“I’ve become a wounded warrior, I guess,” Cashman said jokingly from his Homestead Hospital room.