For those that breastfed less than a year, how long did you breastfeed for?

Did you continue to pump once you stopped breastfeeding? What made you stop?

I’m trying to figure out how long I plan on breastfeeding for. At this point I’ll be lucky if I stick it out for 8 weeks. Baby continues to have latch issues and I’m just exhausted. I go back to work in 2 weeks and I’ve barely been able to pump.