Like with everything else,
WotC can terminate your license whether you did something wrong or not, whether you did it in good faith or bad.
Probably what will happen though is simply you need to stop releasing new supplements for your race/class/thingy unless you rename it.
If you don't want that, you will simply have to yield all possible "generic fantasy terms" (like Monk, obviously) for
WotC's future use. Call them Yogi War Monks or something instead.
It isn't fair that
WotC can assume ownership of all the generic names, but then you don't have to play in the D&D yard if you don't like
WotC's terms...