For me, I believe George Foreman was a bad example because when he became world heavyweight champion again at 42, that made a lot of fighters think they could also carry on.
Some fighters know when to stop on their own and go on to something else, and then some fighters have nothing to go back to after they are finished. Some fighters still have the burning fire and feel that they just need to try one more time. Few can do it.