Fort Sumter was repaired and rearmed after the war, and was extensively reworked in 1897, remaining in service until 1947, when it was retired along with most coastal fortifications that outlived their usefulness in an era of missiles and jets. In all, over 70 coastal defense installations were decommissioned between 1946 and 1950, Sumter among them.
This is all a little beside the point, though. We have bases that aren’t essential to our security, but if they were attacked the result would be war, or something very much like war. If we took no action in response we would lose credibility and be seen as a powerless paper tiger. The argument that such a base was unessential wouldn’t matter.
"From 1876 to 1897, Fort Sumter was used only as an unmanned lighthouse station. "
https://en.wikipedia.org/wiki/Fort_Sumter#After_the_war
Yeah, they put in some new guns during the Spanish American war, but it was still useless and never saw combat.
People want to pretend it had some use because they feel the need to justify why armies invaded the South and why 750,000 people needed to die fighting a pointless war.