If there was no live stock in the tank and the salinity didn’t get too crazy high, I would think that the water is still usable. I would do a 20% water change (mostly just to siphon stuff off the sand bed), turn all the pumps back on, let it run for a week (do some small ghost feedings to generate some ammonia to see if it’s being processed), test again, and if all is well, you should be good to go. If there was no mass die off in the tank, there’s no reason that the water should foul if the tank was cycled (again assuming that the salinity didn’t get too high).
Many years ago, I left a ten gallon tank with a small piece of live rock, and a few pieces of caulerpa, and left it for six months (it had a glass lid), it got some light from the window, but no filtration or flow, and the caulerpa kept growing and it was full of all kinds of microfauna. I only took it down because I was moving but I imagine it could’ve kept going. My point is, unless there were some larger organisms that died and were left to decompose in the tank, there’s no reason to think the water shouldn’t be usable (it’s probably low in oxygen, but that’s an easy fix).