Ima let someone else field this one...
I don't know. The human mind can do many things.
We had an important night baseball game coming up and I was scheduled to pitch. I woke up that morning with a pinched nerve that created thunderbolts down my back and right arm with almost any movement of my neck or upper body.
My dad gave me a massage. I took a long hot bath and even got into the gym and used the whirlpool before the game. When I showed up I told the coach I couldn't play much less pitch but he begged me to at least warm up on the mound and if I couldn't take it he'd pull me in the first inning.
The first warmup pitch sent shock waves through my arm but somehow I self hypnotized to mask the pain. I remember absolutely nothing of that game and was brought out of my "trance" when the guy doing the stats ran up to me to shake my hand congratulating me for pitching a perfect game. I didn't even know the game was over. I also didn't know that I'd hit two home runs and a double until I read the stat sheet.
The pain returned and didn't go away until I visited a chiropractor two days later.