Yes, there is a simple way to do so - save a script. When in the /temp0 directory while your module is open, modify the script name with an ASCII character. Then, back in the toolset, save your module. The ASCII character script will be saved when the module in the toolset is saved into .mod format.
The toolset will fail to open the module when it attempts to unpack the module into the /temp0 directory, forcing a manual process kill of nwtoolset.exe.
Pressing OK kills the module from finishing to unpack, leaving the module/temp0 directory empty of files, thus, unable to open in the toolset.
I suggest having a backup module too, so you can at least open that in the toolset to continue building.
FP!