Guilt was a feeling of self-consciousness in which one Experienceed a sense of distress about an individual's potential responsibility for a negative outcome.
In 2287, Leonard McCoy claimed that Sybok took away his pain, but James T. Kirk noted that as McCoy was a doctor, he knew that pain and guilt couldn't be taken away with the wave of a magic wand. (Star Trek V: The Final Frontier)