Audio speed changes randomly

I just recorded an hour and 18 minute long recording for a gaming YouTube video, and after a certain time, it got really slow and low pitched. I thought the solution would be to speed up the time, but after about a minute, I realized that it got faster after that. Now, it’s changing speeds about every 3 seconds. I’m worried I can’t upload it since this will take forever to fix everything. I don’t know what could’ve caused this. I’ll be recording a really popular game when it comes out in a few days, and I really don’t want this to happen again.

How did you do that?