If the caption are included as a separate stream, then extracting them is (relatively) straightforward:
ffmpeg -i input.mov -an -vn -c:s copy -f rawvideo -map 0:s sub.txt
If it's "burned in" on the video file, then you're probably out of luck, but I that would be more common for subtitles than closed captions.