Is turning off engine while driving bad?

Bad and dangerous! First, many things including the steering sytem either lock or shut down. Just about everything that uses the elctrical system is shut down...and many of these things run things, like fuel pumps, etc., that the engine needs.