Request advice on cancelling a custom timestop effect using NI

I am making a kit based on the shadow dancer that has a token system allowing shadowstep at will instead of per day. To do this I have a new spell created while in the Shadow Plane which when clicked "returns" them to the Material Plane by removing the shadowstep effects.
Now the technical part. My attempt notes:
Currently I have shadowstep (and some other things I added) in a custom spl. I then use "remove effects by resources" with that spell. It removes most of them such as colour changes and I can manually change some other things I altered as well except one - timestop.
There is no "remove timestop" flag I can see so I tried removing the remaining effects using "remove effects by opcode" (effect 231 - timestop and param set as -1) - this did not end the timestop effect.
Target is self as I think timestop is centred on the caster but have tried a few others.
I must set the timestop to permanent , or like a week long duration, and make it cancellable with the generated token.
I also looked at the doc effects and noticed that setting timing mode to "instant permanent (9)" would prevent remove by opcode. I have tried on all other types and also does not work, not that I use number 9 anyway usually.
Please can you help me removing this effect.
Now the technical part. My attempt notes:
Currently I have shadowstep (and some other things I added) in a custom spl. I then use "remove effects by resources" with that spell. It removes most of them such as colour changes and I can manually change some other things I altered as well except one - timestop.
There is no "remove timestop" flag I can see so I tried removing the remaining effects using "remove effects by opcode" (effect 231 - timestop and param set as -1) - this did not end the timestop effect.
Target is self as I think timestop is centred on the caster but have tried a few others.
I must set the timestop to permanent , or like a week long duration, and make it cancellable with the generated token.
I also looked at the doc effects and noticed that setting timing mode to "instant permanent (9)" would prevent remove by opcode. I have tried on all other types and also does not work, not that I use number 9 anyway usually.
Please can you help me removing this effect.
0