Conect to iTunes, Go to the summary where it shows you I picture of the iPhone and the bar showing your storage usage, the restore option is there and will remove the jailbreak them just restore from your last backup. Pretty sure apple cant just take the phone off you, you paid for it and voiding the warranty just means they won't repair it, nothing more.