Has anyone stopped breastfeeding cold turkey?

My baby is almost 6 months EBF. I feel like I can’t do it anymore and I’ve been trying to stick out as long as I can but I just can’t anymore.. has anyone stopped cold turkey and just switched to formula all of a sudden? I feel bad for feeling this way but my mental health is going down and I need to be good for my baby so I feel stopping is the best decision for me. I know it’s going to be hard for her aswell, any advice on what I can do?