The Prime Minister chose to call the election to try to strengthen her hand in talks with the European Union over Brexit.
However, the results saw the Tories lose 13 seats while Labour gained 29.
Speaking with S4C in Wales, she recalled the moment when whilst on holiday in Dolgellau she came to the decision that to “provide that stability and certainty for the future”, a general election was needed.
She said the “great scenery, fresh air and exercise” had allowed her to clear her mind and focus.
She added: “The result didn’t come out in the way I would’ve liked it to or obviously wanted it to but in politics we get on.
“I think it was important that the British people were given an opportunity at that point to have their say and they did.”
The Prime Minister’s decision shocked the country as she had previously promised that a general election was out of question.
The Conservatives went into the campaign with a major lead in the polls but came out of it without a parliamentary majority.
At the time, former chancellor of the Exchequer George Osborne described Theresa May as a “dead woman walking” following the results.
MP Grant Shapps, a former Tory rebel, who previously declared he had the support of 30 Conservative MPs to launch a vote of no confidence against Mrs May changed his mind and claimed this week she could lead the Conservative Party into the next General Election and even win.
The former Tory chair said it looked less likely that Mrs May – who continues to lead in the polls despite a few weeks of Cabinet deadlock over Brexit – would be booted out by her party when the UK leaves the EU next year.
Speaking to Sky News, Mr Shapps said: “Six months ago, a year ago, people were saying after that failed election she’s only got until next March when we actually leave.
“I don’t think many people now are saying she’s going to leave in March, because she’s then got the negotiation period until the end of 2020, possibly 2021, we learned this week.
“When Theresa May takes a decision people actually go, ‘ah, OK, well, I may not agree with all of that but, you know what, the decision’s been made,I’m prepared to follow’.”
Pointing to the Prime Minister’s long future, he added: “I think it’s perfectly conceivable now that she leads us into the next election and I think potentially even wins that election.”