R Dovid Ribiat answers your question in his book The 39 melochos (vol 3, p. 888)
It is questionable wether killing a mortally ill or wounded animal is
the melocho m'deoraisa of Schochait. In any case, doing so is not
actually permitted. "Mercy killing" situations are common examples of
Example: One who notices a badly wounded bird ...