Really glad you're alright, bud!
This is unbelievable. If I hit the "brakes" and the car accelerated, I'd take my foot off the "brakes" and try again. Panic makes us all respond in funnny ways, but I can't say that I've ever been in a situation where the stopping of what I was inadvertently doing didn't lessen the severity of the accident/damage. In this case, taking his foot off the "brakes" could have been the difference between broken bones and death if you'd been doing this in your garage, with nothing but a solid wall between you and the car.