deus ex machina

noun
1
an unexpected power or event that saves a situation that seems without hope, especially in a play or novel
حادثه ناگهانی یاری‌دهنده, راه‌حل غیرمنتظره, عامل مداخله‌گر در داستان