Yes, it needs to be completely cool and chilled so that it is set and firm before you remove it from the pan. If you remove it from the pan before it is refrigerated, it can collapse.