If it were me and I really intended to quit training, I would tell my partner and sensei of my plans before the competition and would honor my obligation to my partner and compete with him to the best of my ability. Then I would quit, win, lose or draw.