I am trying to learn to mirror a test database and in the course of doing this, was typing in some commands into a query box. While trying to create a database mirroring endpoint I submitted a command with a typo. I was returned an error. I tried to resubmit a corrected command, but then was told that the endpoint already existed. So then I figured I'd just delete my test database and restart. I deleted the database in my primary SQL Server, but now my mirror SQL Server shows my test database as restoring, and I am unable to delete that one.
Is there a way to undo everything that I have done, going back to a installation default of my SQL Server? There is nothing I need to save, I'm just trying to learn.