With the permission of the trademark owner;
The trademark use right agreement clearly stipulates that after the expiration of the trademark use right license, the inventory goods can continue to be sold;
Reach a new supplementary agreement with the trademark owner on the inventory products.
If there is no such license or agreement, it is suspected of infringing the exclusive right to use a trademark. Trademark owners may be investigated for tort liability.
If the stock is not large, it is best to negotiate.