Will my belly button piercing close up?

Su

I have had my belly button pierced for about 14 years. I’m currently 28 weeks pregnant and it has gotten infected. It is getting better, but my Obgyn said I may have to take it out if it doesn’t clear up. If I take it out will it close up? Any suggestions?