Its good that you have followed the advise. Dont worry if any part of mouthwash remains in the mouth. Make sure to gargle and spit properly. Mouthwashes consists of diluted denatured alcohol and some flavoring agents, so accidental consumption is not at all damaging unless you consume great amount of it (which is quite a rare chance).
So, don't freak out, mouthwash is safe. For more info on uses of mouthwashes visit the link....http://www.identalhub.com/article_know-about-mouthwashes-252.aspx