Josh Junior kept his nerve and his boat upright to win a dramatic medal race at the Finn European Championships in Spain overnight (NZ time) but it wasn't quite enough to claim bronze.
The 28-year-old finished fourth in his first major centreboard regatta since the 2016 Rio Olympics, just two points behind world champion Max Salminen from Sweden who was third.
The real drama was in the battle for gold as Nicholas Heiner (Netherlands) who had been leading all week, capsized twice in the extreme conditions to finish last in the double-points top-10 medal race and hand a second European title to Ed Wright (Great Britian).
The final race was nearly cancelled as wind gusts clost to 30 knots and huge swells hit the coast off Cadiz. The remainder of the 91-boat fleet were due to sail their race after the top-10 medal race but this was called off as the conditions worsened meaning Andy Maloney finished 11th overall and Brendan McCarty 39th.
"It was pretty gnarly and a matter of survival at times," Junior said.
Brazil's Jorge Zarif led for most of the way around the course and crossed the finish line first but failed to round the final downwind mark and was disqualified, handing Junior the race win.
Junior needed to have one boat between him and Salminen to win bronze but the Swede crossed close behind to earn a place on the podium.
"I would have loved to have shaken him off but there was too much of a gap back to the boats behind him so there wasn't really a chance to get a boat between us," Junior said. "But it's pretty cool to win the race and finish fourth. I'm happy with that.
"It has been cool to come over here and see where we are placed in the fleet and what we need to work on. I didn't really know where I would fit in. I knew I had the potential to do well but it doesn't always work out like that in racing so it's great to finish fourth. We'll go to Palma now and work on a couple of things, like starting and upwind speed, and hope to do even better."
Junior and Maloney will compete alongside a number of other New Zealand sailors at the Princess Sofia regatta in Palma in a fortnight. This is one of the biggest regattas of the year in terms of numbers competing and features multiple classes.
Results and standings after the final day at the Finn European championships in Cadiz, Spain, overnight (NZ time):
1st: Edward Wright (GBR) 9 1 5 7 (20) 3 5 17 10 - 57 points
2nd: Nicholas Heiner (NED) 1 7 2 1 (17) 5 12 14 18 - 60 pts
3rd: Max Salminen (SWE) (31) 18 1 5 11 2 23 7 4 - 71 pts
4th: Josh Junior (NZL) 6 (43) 4 4 25 9 4 19 2 - 73 pts
11th: Andy Maloney (NZL) 12 15 24 (29) 12 20 3 10 - 96 pts
39th: Brendan McCarty (NZ) 30 24 29 (49) 45 46 32 42 - 248 pts
See here for full results.