I had replied in more detail on Github, but basically you do the similar inputs as in a Super Mario World shell jump: carry platform, jump, at about 1/4 of the jump height, release grab and make sure to re-press jump.
However, this section is actually optional - so if you ignore this part and keep exploring elsewhere, you can win the game too.