Auto Take-off Crash Safety Stop


I have a flying wing of 1.3 meters that I would like to hand launch it. the problem is that I want to have a safety systems that shuts down the motor if you crash because of a bad hand launch . I have lidar also installed (maybe it can be useful although I know it is used only in landing procedures). Did anyone had a look at this problem?