No, a domain name is not a trademark, it is an address on the internet. Only when you have USED it as a trademark does it acquire any protectable trademark value, and only in the goods and services in the field where you have actually branded things with the trademark.
The mere fact that someone else later comes along with a trademark that happens to correspond to your domain name does not give them any particular right to stop you from using it, let alone take it from you.
Similarly, if you had been using your unregistered trademark on your services for even a day and someone else filed an application for federal registration of that trademark in your field, not only could they not force you to stop, you could prevent them from registering their trademark or petition to have it revoked if it was issued without it coming to your attention, because you have "priority" in the brand in those goods or services to which you actually attached it in commerce.
If you never used your brand in commerce, you have no brand to protect. You could simply negotiate with someone who wants to use you spiffy internet address, without getting all technical about trademarks.
If someone wants to "take" your domain name, they have the burden of proving your use has harmed them in some fashion.