07 nissan xterra
Battery was almost dead, changed to new battery,
now will only crank..does not turn over..any quick
When main power is disconnected it arms the security system, check in your owners for the proper shut down procedure. Hopefully it didn't corrupt the programming when main power was disconnected. The shops use a preset saver tool that plugs into the OBD 2 port that prevents things like this happening. They are available at most parts stores.