Otoh we had a dog when I was a kid, and near the end you could just see the self-pity in its droopy eyes. 'No I will not go for a walk, can you see how miserable my existence has become? Woe is me.'
This is a survival instinct. They are predators but they are also prey. “Acting” sick or weak is a good way to get picked off by predators. That’s also why they hide when they are gravely ill. They don’t have the luxury of lounging around like a lion.
I keep hearing stories about cats who "ran away and never came back". When a cat of mine grew old, despite being deaf, blind, and quite possibly addled with feline dementia, she would get up on shaky paws and try to find a nice well-concealed corner to hide in while awaiting the reaper. We eventually had her put to sleep, but I think we might've waited too long.
Over the next two hours he lay there and cried to me as if to ask "Can't you do anything? What is happening to me?". I agree with you: they seem to know the end is near.
I could only pet him gently and talk to him softly, which seemed to calm him. His cat companion was quite upset, stayed around, but did not approach too closely.
After he died and rigor mortis set in, I retraced his path from where I found him back to our parking lot (a trail of bodily fluid remained). He had apparently been trying to eat something on the asphalt (I have seen this behavior before but don't know what it could be other than ingesting worms, bugs or plants, etc.) I carried his limp body to the front yard, dug him a suitable grave near a holly bush and lowered his body gently. His cat companion companion watched awhile but finally left, whereupon I lay the earth over one of the sweetest cats I've ever known.