I would use yes to reward and release a sit, down, stand, and to reward any tricks. I would use free to let him out into the yard, to release him from a place command, to release him from the crate, to release him from a platform where we had been training, to release him at the end of the training session, to release him from an invisible boundary, etc. The yes comes with a mental image of a cookie (reward). The free tells the dog he is done and he is free to do and go as he pleases. When in doubt I would go for yes.