These results suggest that S-nitrosylation of Atg7 at Cys402 plays a significant role in inhibiting myocardial injury during myocardial ischemia. Here, ATG7 is linked to myocardial ischemia.