A disengagement compact is like an agreement between two people that they will stop bothering each other. It's kind of like if you and a friend were playing a game, but you both got really mad at each other and started fighting. Instead of continuing to fight and making things worse, you both agree to stop playing the game and take a break for a little while.
In the grown-up world, countries might have disagreements or conflicts with each other. Instead of fighting and causing more problems, they might make a disengagement compact. This means that they agree to stop doing things that are causing the conflict, like sending troops or weapons to a certain area. They might also agree to talk things out peacefully and try to come up with a better solution.
Making a disengagement compact can be really helpful because it can give everyone a chance to calm down and think about things more carefully. Sometimes when we're really mad or upset, we say or do things we don't really mean. But if we can take a break and talk things out later, we might be able to find a better way to work together.