How to transcode one mov_text stream and copy the rest in ffmpeg?

I have files with multiple subtitle streams, one of them is in mov_text which is a problem for me because I want it in the mkv container, so I would like to transcode that specific subtitle but copy the rest.

I’ve tried moving around the position of -map a few times to see if that would do anything but I get the same ‘subtitle codec 94213 is not supported’ message, here is the last command I tried:

ffmpeg -i input.mp4 -map 0:v -c:v libx265 -pix_fmt yuv420p10le -preset veryslow -map 0:a? -c:a copy -map 0:s -c:s copy -map 0:s:4? -c:s:4 srt output.mkv