"Gave out" is definitely incorrect. " "Stall" has a special meaning in aviation, which I believe would not be suitable for the scenario you describe.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
deadrat Since you specifically mention "engine," and your plane is still on the ground, there isn't any technical problem with your using the word, but since other phrasing is available, it might be best not to use "stall" here.