I lost an engine once in a DA20. We were slow enough that the prop stopped completely. I took the controls from my student and was able to get it restarted. Needless to say we cut that lesson short. We flew back to the airport with the electric fuel pump on the whole time. As it turns out, the engine driven fuel pump failed as my student was reducing power for a power off stall.