Don't have the snake "free" in the tank during a car drive. Put it in a snake bag (inside-out pillow case can work well) and put the bag in a small tub. Or you could put the bag back in the tank, but surround it with towels or wadded paper so that it can't slide around at all.

Worst case, the snake has a raggedy shed. It won't hurt it.