Losing a baby any time after 16-18 weeks gestation may still lead to lactation. That's because the arrival of breastmilk is driven by the drop in hormones following the delivery of the placenta and not whether or not a baby nurses.
Whatever reaction the birthing person has to this situation is natural and acceptable. Some mothers will find comfort in their body’s ability to produce milk, while others will be upset and uncomfortable with lactation after loss.
There are a few options of what you can do with your milk supply:
Australian Breastfeeding Association, "Lactation After Infant Death"
To help with lactation suppression, custom blended herbal teas, tinctures and engorgement cream are provided to each of our clients.