@sherithorb Absolutely. I felt the same as you, wanted to run throughout pregnancy. But at 24 weeks started getting pain like you describe, and stopped before 28 weeks. To be honest, I wished I'd stopped earlier - the last few weeks were tough (being January didn't help!) My concern was if it got so I couldn't walk and get outside, I'd be REALLY miserable.
I understand the fear of losing fitness, and that will happen. But also it'll come back. Everyone's recovery journey's different, so this isn't guaranteed, but my daughter's nearly 2 and over the last year I've PB'd at every distance. So I promise that stopping running now won't necessarily cause issues in the long term, and might actually be a good thing. Just to add as well - don't rush back before you're ready (I did and it set me back a couple of months).
Enjoy your walks, and I hope the rest of your pregnancy and return to running goes smoothly.