Playful, surprising, and utterly irresistible -- upside-down sweets never fail to wow family and friends.
Preheat oven to 350 degrees. Melt 5 tablespoons butter and add to a 9-inch square baking pan, tilting to coat bottom and sides. Sprinkle with 1/2 cup sugar and arrange pineapple slices in 2 slightly overlapping rows.
In a large microwave-safe bowl, microwave coconut milk and remaining 4 tablespoons butter in 20-second increments until butter is melted but not hot. Whisk remaining cup sugar to remove lumps, then add to bowl. Whisk in eggs, lime zest and juice, and vanilla.
Whisk together flour, baking powder, allspice, and salt. Add flour mixture to coconut milk mixture in 3 additions, whisking until smooth. Pour batter over pineapple and spread in an even layer. Tap pan on counter to remove any air bubbles. Bake until cake is golden brown and a toothpick inserted into center comes out clean, 1 hour. Let cool on a wire rack, 1 hour. Run a knife around edges before inverting onto a platter. Serve warm.