Narrative:

I was flying with a student when we started to have problems with one engine. We had a fire warning intermittent and we had to shut down the right engine. When I was reading and perform[ing] all the checklists; the student who was not familiar with the area; instead of staying on the left of the power lines; went on the right of the power lines entering in the [restricted airspace].after restarting the engine inflight and regaining control of the airplane; I turned immediately away from the [restricted airspace] at 90 degrees angle; and after landing back in [departure] airport; TRACON called me and asked me to call [another airport] tower for a possible pilot violation. I called right away; explained them what happened and the gentleman talked with his supervisor and he said that they would not report a pilot violation and discussed how to prevent another occurrence.

Google
 

Original NASA ASRS Text

Title: The pilot of a small military style jet trainer reported an airspace violation occurred while addressing an engine fire warning problem.

Narrative: I was flying with a student when we started to have problems with one engine. We had a fire warning intermittent and we had to shut down the right engine. When I was reading and perform[ing] all the checklists; the student who was not familiar with the area; instead of staying on the left of the power lines; went on the right of the power lines entering in the [Restricted Airspace].After restarting the engine inflight and regaining control of the airplane; I turned immediately away from the [Restricted Airspace] at 90 degrees angle; and after landing back in [departure] airport; TRACON called me and asked me to call [another airport] tower for a possible pilot violation. I called right away; explained them what happened and the gentleman talked with his supervisor and he said that they would not report a pilot violation and discussed how to prevent another occurrence.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.