The Pena park surrounds the Palace. You can buy a combined ticket for the palace and park, or you can buy separate tickets. The park is is nice but not extraordinary. You can exit from the park (without having to go back up to the castle). The bus stop is right at the exit.