Sue,
We have an ML270 CDI auto bought from new in 2003. Something similar happened when my wife was driving solo, fortunately she was going very slowly. After switching off the ignition and re-starting the engine all was normal. Our local Merc dealer in Cambridge diagnosed a faulty engine...