Let's see an example from Tchaikovsky. This piece is short. Pieces in ternary form are often larger and can have more defined and contrasting sections. Section B can often have contrasting key and tempo.
Chris Breemer, piano. Courtesy of Piano Society and Chris Breemer.