Perseveration:
the act of saying or doing something repeatedly when there is no longer any reason to do so:
- Many of the errors that the children made consisted of verbal substitutions and perseverations.
- Perseveration may be a sign that a child is on the autism spectrum. [Cambridge Dictionary]
Noted in this WaPo article title. “Carolyn Hax: 4 a.m. bathroom breaks become perseverations on life’s mistakes.“