Okay you should know how to do it but anyway if you sink in just press the up arrow and you will go up.
I just wanted to make a platformer Also sorry it's not that good.