Copy link to clipboard
Copied
Copy link to clipboard
Copied
Ctrl/Cmnd + w only closes a panel. It sounds like you closed your Project panel. Nothing was lost unless you closed After Effects and did not save the project.
To restore the workspace, either double-click on one of the workspaces in the Toolbar or use Window/Workspace and pick the workspace and reset it.