I don't think it's possible to do anything about that with Blitz3D. Although with the AppTitle command you can warn the user.
Apptitle "My awesome game", "Hey Quitter! If you quit my game this way some
important data will be lost! Are you sure you want to quit this way?"