Some moderate physical exercises do help but I also find that cooking helps me to be more relaxed after a day of coding work. Maybe because it needs a totally differnt kind of focus like chopping and much more (actual)hands-on which mean my coding brain can be shutdown afterwards.