A Cape Town teen who was arrested for allegedly planning attacks in the city has been released into the care of his parents after a brief court appearance on Thursday.