Kick the bucket means"to die." It possibly refers to suicide attempts in which people would attach a rope with a noose to a beam, stand on a bucket, put their head in the noose, and then not kick the bucket away, so that art they could hang and themselves.