Depending on what your BG is, if you can take a bolus a a little before you finish, or right when you finish, you can prevent the spike.
A higher basal can also prevent a spike, but I just find boluses to be much more powerful for preventing spikes - as long as you know a spike is predictable.
Like as an example (depending on your basal rates) if you compare a 3 unit bolus versus a 130% basal increase - it might take 2 hours of temp basal to make up that 3 units, compared to the 3 unit bolus you can take all at once.
I guess it just depends on your preference. But I always take insulin AND carbs right after a workout, and I do it with a bolus. That is how you get the glycogen back into your muscles for the next day’s workout.
Do you eat any carbs while exercising? And are you T1 or T2, and how long have you been diagnosed? Do you have any glucagon response still?
A spike a short time after exercise can be caused by many different things.
For some people it is the fact that have been running on a zero basal for an hour or two, and after they stop, they have no insulin left in their system.
(I think you mentioned above you are on 0%, is that right?)
For that situation it might help to have a small basal still running during exercise, like 20% or so (as long as you are not dropping too low).
For others, a spike might be because of a cortisol and epinephrine response as I mentioned previously. But going back to your initial post, if you are walking, I do not think those hormones are a factor. That would only be a factor at higher intensity.
For some, it is the carbs they ate during their exercise, and the carbs finally kick in when they stop. But again, that is probably not at play if you are waking (Sorry, I should’ve reviewed your initial post before writing all these things. Those are valid for higher intensity exercise, but probably not your situation.)
And for some, there can be a glucagon response. That depends on the type of diabetes you have and how long. Like it might be a factor for a T2 or a new T1, but probably not for a long-time T1.
So considering all of these possibilities and after re-reading your initial post, I would suggest trying either a small basal left on during exercise (somewhere like 20% or so), or a small bolus right at the end of exercise.
Or try them both (but not at the same time!!). Like try it both ways but on different days, and see which works better.