perseveration

nouns

the tendency for a memory or idea to persist or recur without any apparent stimulus for it
is derived from
is a type of (narrower)
an attitude of mind especially one that favors one alternative over others
"he had an inclination to give up too easily"; "a tendency to be too strict"
the act of persisting or persevering; continuing or repeating behavior
"his perseveration continued to the point where it was no longer appropriate"
is derived from
is derived from