You would stand up because you were greeting someone.