Yes, sometimes it's not possible to do all of the things we talk about doing to get our blood sugars right during a run. Your run yesterday is an example.
I had an afternoon run yesterday with similar issues. Maybe I was just luckier, or maybe I handled it a little differently, but my blood sugar wasn't perfect either, starting at 157 and ending at 240.
The important thing, I think for both of us, is that we got the mileage in and we're here to discuss it.
I knew I had too much insulin on board before starting, my run, so I had a glass of juice, and took lots of carbs with me.
My Dexcom sensor had just timed out, so I wasn't getting readings there. I carried a meter with me, and I was still around 170 at the turnaround, and still worrying about my meal bolus, so I ate a gel.
So I was at 240 when I finished 7 miles. Not great, but I think it was better than erring in the other direction and going low.
When people say it's hard to manage exercise with diabetes, I almost always point out it's hard to manage eating, but we still do it. Exercise is that important. We do what we can to keep our blood sugars in line during our runs, but as long as we don't hurt ourselves, we should consider it successful.
In your case, I might have tried to take in some carbs when my bg was at 150 with two down arrows. Maybe you did. Whatever. It worked out.
Looks like it's time to change your battery.