For me to forgive is to let go.
You refocus. You change the direction of your thoughts. You don't dwell on it anymore, you focus on doing something good instead. Towards yourself or towards others. And then anger and resentment melt away. You have let go.