You can only do it when the Cheshire Cat's head appears at the top of the screen.
When you see it, press C on PC. Miss the window and you will have to wait for the next appearance.