ATC and late instructions to climb

At some point that option disappears, but I have used it to both raise, and lower my altitude. I’m not sure what the trigger is to remove it, presumably one of the frequency changes.