How to disable ERG?

How do I run a workout in free ride mode while connected to a smart trainer, without using ERG? I'm doing short intervals where ERG does not work (and my coach has said not to use) and while I can set a resistance once, as soon as the next interval starts it reverts to ERG mode.