Turns out you can test positive for quite a long time

I seem to remember there also being a rule that you could leave quarantine after 10 days after you no longer showed symptoms.