Hillary Clinton revealed on Thursday some of the different ways she sought to cope with her stunning loss to Donald Trump, including yoga and breathing exercises.

"I did some yoga. Tried alternative nostril breathing, I highly recommend it. It kind of calms you down. And yes, I had my fair share of chardonnay," Clinton said during an appearance at New York's Riverside church.

"The two best politicians I know, my husband and Barack Obama, did not think I would lose. So when it happened it just threw me back, and threw me onto my own internal resources," Clinton said.

The former secretary of state also shared how she wrestled with finding the composure to deliver her Nov. 9 concession speech without sounding bitter.

"I knew I had to get up the morning after the election and I had to demonstrate the kind of personal composure and strength in order to deliver a concession speech but to do it in a way that wasn't bitter or angry," Clinton told the audience. "And I tried really hard to do that, and I also tried to make it clear that we all hoped the new president would succeed, we wanted to give him a chance."

She went on to share that in the moments after her concession how she felt depleted in her personal resources and was left speechless.

"But as soon as Bill and I left that stage I just, you know, really felt the whole weight of it on me. And we were in the backseat of our car, on the way back to our home I couldn't speak, I couldn't really have any internal resources left," Clinton added.

Her memoir, "What Happened" is set for release Sept. 12, a book she said was a difficult and challenging to write because it was "painful to relive" the campaign.

"It was excruciating to try to write it," she said. "Sometimes I would write a couple of pages and would literally have to lie down because it was so difficult. But eventually it became cathartic."

Clinton didn't take any direct swipes at Trump during Thursday's speech but did criticize his administration's decision to rescind the Obama-era Deferred Action for Childhood Arrivals immigration program.

"You have to ask, where does that cruelty, that mean-spiritedness come from? It is not from the church, it is not from Christianity, it is not from people of faith," Clinton said.