If you are in a competition and you tap from an illegal hold (e.g. a heelhook or spinelock @ novice level) and are unable to continue what should the result be?

It should be a DQ to the guy applying the illegal hold, even if you tap shouldn't?