This is why all modern navy ships still carry sextants and train extensively in celestial navigation. It's pretty much a forgone conclusion that GPS will become immediately useless in any large scale nation state war of the future.
* https://www.davisinstruments.com/product/artificial-horizon/
* https://www.starpath.com/catalog/accessories/1840h.htm
* https://www.celestaire.com/product/davis-artificial-horizon/
They've been around since (at least) 1907:
* https://www.scientificamerican.com/article/an-artificial-hor...
For clear shot, would tiny drones that go up work? How high do we need to get a clear shot?
You could use the accelerometer to get a good idea of "down" but not enough resolution for navigation.
See the Patriot missile systen fiasco.
https://www.thedrive.com/the-war-zone/17207/sr-71s-r2-d2-cou...