Turning Voices Off

How do you turn voices off. For example if I have 2 voices in bar 1…voice 1 (stems up) voice 2 (stems down). If I go to bar 2 and have just one voice, the other voice leaves a rest. How do I get rid of the rest in voice 2 or turn voice 2 off?

Thanks

In Write Mode you select the last note of the second voice in bar 1.
Then in the Properties switch on “End of voice”

Thanks