It depends on what happens.
Let's say I give you an almighty kick to the groin. The pain is so bad you wanna throw up, and you can barely stand. The medic comes over and checks you out, sees that you have no brain injury, no damage to bones or ligaments, and clears you to keep fighting. Because the medic has cleared you, your option is to continue or forfeit.
Now let's say I punch you in the face and knock you out. The medic says "you have a concussion and cannot continue." I am disqualified.
Or I kick you with a really hard kick to the knee. The medic says "you have a torn ligament, you cannot continue." I am disqualified.
Now let's say I kick you in the face and knock you out. The medic says "you have a concussion and cannot continue." The ref says "it was a legal hit." I win by knockout.