I don’t think you ever forget how to get angry. It’s like riding a bike, it just may take a few tries. It’s how you handle those few tries that dictates your next steps
One of the most important Stoic teachings is to not get upset about things you can't control.
Once you fully internalize this, it's hard to get angry about trivial things like "someone at the office started claiming your work as your own". Now extend that to everything else in your life you can't control and might get upset about. Everything is trivial once you realize that you only have one life to live.