Venezuelan military officers arrested President Chavez in April 2002 and announced his resignation after at least 17 unarmed protesters were shot and killed during an anti-government rally .