The great thing with dogs and cats is they forget fast if they are left and others rescue them.
Animals live mostly for the moment and if things get better they forget the past.
A friend of mine rescued a little Shih Tzu that was wandering alongside the road near her house. She said the little guy was very grateful, but was obviously still waiting for someone to come back for him, to the point that she knew exactly what the “dumper” had been driving...a white Ford F-150 truck. The dog reacted every time he saw that type of vehicle drive by the house. Whenever she took him outside to walk, he would pull her down the driveway to the road and sit down to wait. She eventually got him to a no-kill rescue, so I dont know what happened to him.