I would think that it would take quite awhile for the fish to deplete their oxygen in the water.
I've had situations where I had to keep some fish out of the tank overnight, although they are
FW fish, and they have survived. The only problem is the water is not being filtered, so you may want to put some fresh water in afterwards.