Static route states follow VLAN states
Static routes remain in the routing table only while the interface link to the next-hop router is up. If the next-hop router interface link goes down, the software removes the static route from the routing table. If the next-hop interface comes up again, the software adds the route back to the routing table.
This feature allows the routing switch to adjust to changes in network topology. The routing switch does not continue trying to use routes on unreachable paths, but instead uses routes only when their paths are reachable.