Segregation of viral plasmids depends on tethering to chromosomes and is regulated by phosphorylation.