McLeach then tries to shoot the rope holding Cody above the water. To save Cody, Bernard tricks Joanna into crashing into McLeach, causing them to both fall into the water. This causes the crocodiles to turn their attention from Cody toward McLeach and Joanna, while behind them the badly damaged rope holding Cody breaks apart. McLeach fights and fends off the crocodiles, but although Joanna manages to reach the shoreline, McLeach is swept over the waterfall to his death. Bernard dives into the water to save Cody, but every time he fails. His actions, however, buy Jake and Bianca enough time to free Marahute so they can save both Cody and Bernard.
Bernard, desperate to prevent any further incidents, proposes to Bianca, who eagerly and happily accepts while Jake salutes him with a newfound respect. All of them depart for Cody's home. Back at the nest, Marahute's eggs finally hatch, much to Wilbur's dismay.