Help?!

So I’m getting a surgery done where I’m going to be under sedation. The doctor that’s doing the procedure has told me that I won’t be able to breastfeed my baby for 24 hours due to the medicine they’re giving me. And as for my breastmilk I would have to PUMP & DUMP for that 24 hours. My question is, would my breast milk dry up? I won’t be able to breastfeed anymore?