Shot officer released from hospital