This is because of a vigilant, well-trained guard force, charged with the safe, humane custody of the detainees and because of that force's ability to rapidly and properly respond.
Many of the lights will remain lit, keeping ships in safe waters, but the Coast Guard wants out of the historic preservation business--it doesn't want the responsibility of caring for and preserving so many decaying structures, many of which were built in the 19th century.