I think you're supposed to leave in the oven til it cools down, but then my recipe talks about pushing the edges in in the first few minuts of cooling down so it's even after it collapses iyswim
Also oven will be still very hot, so will it keeep on baking?