The president, who delivered the commencement address and proceeded to shake hands with graduates, fell near the podium and was quickly assisted by those around him in returning to his feet.