@Artemi
Release the slaves. Duh. Like @Broken25 said, it's the only moral choice.
Also, like they already mentioned, possibility for releasing slaves was a built-in part of insitute of slavery in almost every society that had an institute of slavery, so your argument is just plain wrong...