Cute (but again, all those added things say “I was looking for a fight” to a hostile DA).
The two easiest defensive case strikes are:
1. Using the crook or handle as a pivot (like PR-24 or tonfa), whip the ground end around (fore or backwards); and
2. Raise the ground end up into the other hand, and use the top as the striking surface (followed by using the crook to hook the head or arm, depending on what you decided to hit)
The reasons for these are that, if you actually do need the cane, a bash using the hand already holding the cane means putting more weight on the leg that needed support. (also these are fast and unexpected).
If that’s a rubbery handle, the pivot might be a bit challenging; and if the extra (!) weight is on the bottom end, the second method kinda loses the point of the weighting.
Still, your approach has merit esp. if it’s the back and not one leg or the other that’s trouble. Thanks for the note!