Muzan was ultimately defeated by the collective efforts of Tanjiro, Nezuko, and the other demon slayers. Their teamwork and perseverance were key to ending Muzan's reign of terror in the manga.
There are fanfictions where Shinobu and Giyuu are paired in a post - demon - slaying world. For example, they might start a new life together, perhaps helping to rebuild the demon - slayer corps in a different way. Shinobu's medical knowledge and Giyuu's combat skills could be combined in interesting ways in these stories.