Had it a bit on my e34 M5 until I found where the throttle cable became frayed and stuck in the sheath.
No drama, just braked, didn't push the clutch in as it would have been screaming off the rev limiter, and moved to the hard shoulder where I turned the ignition off one stage.
I can't believe the amount of people who claim not be able to 'do anything' when this happens.