Seventeen retired generals and four active-duty admirals were among those detained on charges of " attempting to remove the government through force and violence " and brought for questioning in Istanbul , reports said .