Yeah it sounds like you have pulled something as Em said... take it easy, try not to worry and call your m/w to make sure.

Late in pg your stomache muscles actually come apart to allow for the baby, so it could be just that they have done that and you getting up quickly has stretched it...