If the trademark ultimately belongs to the individual, then even if the self-employed is cancelled, the trademark still belongs to the individual.
However, if it is registered in the name of a self-employed, the self-employed will be cancelled and the trademark right will be terminated.