Lets say i have two characters in my party and they are unchained and not in combat.

If i force one to walk onto a patch of noxious ground such as poison cloud. Is there a way to prevent said character from automatically running out of the poison cloud when i switch control to the other character?

No matter what when switching control to a different party member the AI immediately runs the other member out of the hazardous area.

I know there are only niche reasons for doing this but it seems like there would be a way to force them to stand ground unless otherwise told to move.