Prone, grappled, and movement speed question.

Assume I'm prone and grappled to start a turn so my speed is 0.

If I pass my escape check do I get my speed back so I can stand up? Or am I stuck to be grappled again?