Unless you're some kind of trained/experienced stick fighting martial artist, I would expect that the average "mature person" would have their cane quickly taken away from them and then they'd be beaten silly with it by a younger attacker.

An olderperson is not going to do well against a younger, stronger, more physically fit assailant even if they have something like a stick, or a knife, or pepper spray, or a stun gun. Face it - it sucks to get old.

If you are worried about being attacked, get a gun. Get advice on what to get by firearms knowledgeable friends. Get training on how to use it. Practice. With appropriate training and practice, even those advanced in years can be better equipped and have the upper edge over their assailant if they have a gun and know how to use it. No other weapon will give you this ability.

If you can't have a gun, either because where you live forbids it or you have some personal objection to it, just be resigned to losing the fight and being injured or dieing if you are attacked. Old folks don't beat up young punks, especially a gang of them, except in the movies.