Princess Charlotte appeared to have a little tantrum during the final day of the royal family's visit to Germany.