Forgetfulness means the person was unaware, at that moment, of being in a fast. It is not identical to a mistaken estimate of sunset or to knowingly continuing an act once the fast is remembered.
A person who forgets, takes a bite, and stops on remembering comes under this clause. Continuing to eat after remembering introduces a deliberate element and cannot simply be classed as more forgetfulness.