First, let the cake cool about an hour to room temperature. Then, wrap the cake and pan in plastic wrap and freeze for at least 6 hours and up to a day.
Remove the cake from the freezer and unwrap it. Take a small butter knife or offset spatula and run it around the edges of the cake to loosen it from the sides of the pan. Flip the pan over and tap an edge onto a board while holding the pan at a 45-degree angle to pop the entire cake out.Flip the pan over the board and the cake should come out.