Eject/Vanish/X-zone state

How do I make a state that, when applied, removes the actor from the party entirely until the end of the battle while not killing them? Similarly to how FF6 X-Zone, FF8 Degenerator or FF9 Snort worked.

I've tried to do it with Victor plugins by changing the battler graphic to an empty pic and applying untargetable. However, the round shadow still remained. Am I overthinking it? Maybe the hide command could work, but does it work on party members?
You can try removing the actor from the party through event commands. After the battle, the actors can be added back through a common event.

Original thread: https://forums.rpgmakerweb.com/threads/eject-vanish-x-zone-state.110552/