You have 2 options.
- Delete the project (not recommended)
- Unassign the project from teams by following the steps below:
- In the portal, under the menu, select "Projects"
- Select the project you wish to view
- Open the "Teams" tab
- And unassign the project from the team that you want