You should allow cornbread about 10-30 minutes to cool from the moment it comes out of the oven. This allows the bread to finish the cooking process and begin to cool which means the soft center can hold up better against the blade of your knife and your slice is less likely to crumble.