A simple pendulum is set into vibrations. The bob of the pendulum comes to rest after some time due to
Air friction
Moment of inertia
Weight of the bob
Combination of all the above
Air friction causes the oscillating pendulum to damp and it comes to rest