When you leave the Netherlands, please make sure to take the following actions:
If you are registered with the municipalities in Breukelen (Stichtse Vecht), Diemen or Amsterdam you can find more information about deregistration on their websites.
For further information about rules and regulations around your residence permit when leaving the Netherlands, check the IND website.