They same way they avoid permanent damage to pregnant woman’s abdomen (or indeed any surgery). They carefully stitch it all back together at the end.
Upon completion of the fetal surgery, the fetus is put back inside the uterus and the uterus and abdominal wall are closed up. Before the last stitch is made in the uterine wall, the amniotic fluid is replaced.
@JLeslieI don’t get it, but thanks. I will let it go. Ok I read more of the details. Makes sense now. Thanks . The sac is refilled. That sounds like an amazing process.