I would hand stitch, as well - probably quicker than persuading a machine to cooperate.
Is it just a seam that has come apart or has the knit started to unravel? If there are no loose ends to catch, back stitch or mattress stitch/ ladder stitch should do the job.