I'm sure he was startled by the pinch and is hopefully just shaking it off.
Have you picked him up to check him out of just viewed from where he sits?
I did the same with our crested recently when he put a foot into the crack at the door hinge while it was open. Hes fine but did run and hide immediately.
Hope Vinnie is OK Cheri.