Switching off a turbo engine

I was wondering if it's right to let a turbo engine run idle for a moment before switching it off. Why is that exactly?