How to change commercial plugin license to trial

Hi,
I’m trying to test our plugin, and want to check how it behaves with different license types (trial/commercial, valid/expired). But once I’ve added commercial license for plugin, I can not change it back to trial. Expiration date changes, but the type is still commercial.
Disabling/uninstalling plugin does not help.
Can you please give me an advice how to change it?
Thanks!

Are you looking at p2 (server) or connect (cloud)?

Hi Daniel, sorry, I forgot to specify.
My question is about server.

Tatiana

In that case - there are timebomb licenses at https://developer.atlassian.com/platform/marketplace/timebomb-licenses-for-testing-server-apps/ that you can use to emulate the different modes.