Can't create a new template

I am trying to upload one of my projects as a template. I uploaded it and it didn’t show on the marketplace. Now i have deleted it as a template but now i cant reupload it because the project plan is now “Template Plan” and i can’t change it back to free plan or duplicate the project. So how to i upload my project as a new template now.