It's not necessary to bake the cake in the sheet pan. I found it easier when it came to cutting the cake into cubes. You can bake in the cake in a baking dish or cake pan and cube it that way. Crumbling the cake when layering the trifle works well too.