Domain mapped on main site

Hi

I by accident mapped my main site to another domain and now when I try to access the admin section of the main site I'm redirected to the other domain.

I would like to delete the mapping on the main site - do I need to go into the database to delete the entry or is there another way to delete this mapping on the main site?

Regards
Jann