Ummmm, leaving a snake in water that comes half way up its back is not going to kill the snake. Not even if you do it overnight.
Provided the snake is otherwise healthy but just needs some hydration or assistance in shedding.
It is also permissible to leave the snake unattended.