When Mariappan approached the Indian embassy in Kuwait to get back his passport after deciding to leave his employer, he ended up in jail.