Did it restart? Just die?
Drive throughs can be tough.. Lots of heat soak can build up while in one and cause vapor lock or overheating or a low voltage condition (not all alternators charge well at idle) or overheat ignition components..
At any rate, if it restarts once cooled off a bit then heat may be the culprit. If it doesn't restart once cooled.. Farther down the rabbit hole you go.