How to change commercial plugin license to trial

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?

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

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


In that case - there are timebomb licenses at that you can use to emulate the different modes.