amkneesia
What your leg-joints suffer from sitting/sleeping in a cramped position for too long.
After riding Greyhound all night, I was literally unable to stand up for a while till I'd flexed my legs a lot and therefore "reminded" my leg-joints how to forcibly straighten out and allow me to get to my feet and stand normally again --- major case of amkneesia there!