I'm torn on this.
It's not our place to medically diagnosis a fighter. We as fans have 0 say over who's "good enough to continue". Fighters far too often take less time during a break than they should, or continue to keep fighting when they shouldn't. Often this happens so they don't appear as weak to the fans, and fans have the final say on who's career takes off and who's doesn't. Ultimately this hurts the other fighters because now when somebody is unfit to continue, we'll trash them if they quit.
For example, Anthony Smith shouldn't have continued that fight and basically handed over the title belt on account of foolish pride. Did we sing his praises for it? No, his career floundered since. Tragic mistake by him and his team. But then we look at the flip side, when Aljo get's smashed by a blatant illegal blow fans are in uproar that he didn't continue and he didn't live it down despite multiple successful title defenses.
Lucky (or not) for us the UFC isn't a real sport so wins and losses don't matter. If the UFC isn't happy with a performance, regardless of official outcome, they don't actually have to give you anymore fights, promote you, or do anything to help further your career. They can make you fodder overnight.