Siddaramaiah resigned as Karnataka chief minister but will remain active in state politics, declining a Rajya Sabha offer.