Why does engine cut off after idling for awhile?

Does it fire back up right after it dies?