Definitely continue your full course of medication regardless of sexual intercourse during if that is your concern. If you were swabbed, the swabs indicated the PID. That's hard to dispute. I'd continue your medication and after 10 days, if you still have same symptoms, return for follow up. good luck
When you are seen by a doctor and the doctor prescribes medication, you are supposed to take it as directed, not stop taking it. If you think the doctor's diagnosis was wrong, call in and explain what makes you think that and get another appointment. Or, see a different doctor.