1999 Nissan Maxima will not start after leaving ignition sw on overnight. (Recharged bat.)

It sounds very much like the immobilizer system preventing the car from running.

Here’s a link to a possible solution. Note the sequence of key turns.

If that doesn’t work and removing and holding the battery cables together for 5 seconds doesn’t work, an hour may give you better luck.

Good luck.