Emotions of stopping

I breastfeed/pumped for the first 7 weeks. I had low supply and had to

Supplement, but I am sad I had to stop completely due to health problems of my own and have to take medication unsafe to my son. Anyone else deal with something like this how do I cope with the emotion? I didn’t want to stop 😢