I’m not too sure exactly what is affected but the inertia switch, usually it is the fuel system. But, is well worth a try as Brendan has indicated. Otherwise I doubt it is anything catastrophic, simply a major connection has become “undone”.
There are a couple of members who are far more capable than me in knowledge and the ability to easily explain and who will offer advice real soon.
Best of luck.