Engine control light on, car loses drive, what’s that?

Now I have to ask the experts to answer a question: I drive home with my sister’s car, a Suzuki Swift, about 10 years old (my car is just in the workshop). Shortly before the finish (maybe 6-7 km) the engine control light lights up. I went on because I was – as I said – almost at home. So I come to a main road and want to turn right. So go on (normally in the first gear) and suddenly it feels/hears, As if the gear wasn’t right in it and as if I was idle. But I wasn’t. Suddenly, the power stopped and I slowed down, the car stopped and I stopped. Then I turned off the car and started again and could drive (with extremely low power) just on the side stripes. Since arrived, were really as good as all control lights on. Exactly I don’t remember, because I switched off the engine quite automatically, because the z It was overheated. It left after a while, but had the feeling that it simply lost drive and smells extremely stinking. Now the car is in the workshop. I can’t wait to see what comes out. I’ve never experienced this before, have you ever had such an experience? What could that have been? Best regards, Martin P.S: Sorry, I think I set the post in the wrong category. Can I postpone it again?