Labyrinth (1986 movie)
When they finally arrive at the castle. Sarah confronts the Goblin King and manages to defeat him at the last second. Her baby brother is returned and she is transported back home.