Hareb said the police ride to the hospital saw her friends sitting in the back of a ute.
"I came to as the police arrived and my friends helped me into it. The police ride was definitely a fun one. All I was worried about was [my friends] were still on there as we were going so fast and over so many bumps but we got there safe," she added.
Hareb said after going through two IV drips, she's been given the all-clear.
"When it first happened we thought someone had spike my drink just because it came on so sudden and I was completely out to it. But we think I was just super-dehydrated. It's super hot over here and I had a really long surf right before dinner. Obviously just didn't hydrate enough. I didn't have any symptoms. Not a headache or anything. The doctor just thinks my body went into complete shock."
In her final bid to earn qualification at the International Surfing Association World Games, Hareb finished in 11th after a strong run through the contest.
However, needing to finish in the top seven eligible surfers to earn a spot at the Games, the result meant she missed out by two places.
It means 2013 Junior World Champion Ella Williams and Billy Stairmand will be the only Kiwis in the lineup in Japan later in the year, after earning their spots at the 2019 ISA World Games with the continental qualification spots.
At the 2019 event, the highest placed surfer from each continent aside from the Americas secured a spot for their country in both the men's and women's fields.
New Zealand will be one of 12 nations to compete in the women's field, and one of 14 to compete in the men's. Australia, Brazil, France and the United States are the only countries to fill their full four-person quota.