Choong says a German warship sent a helicopter that scared off the attackers , but not before the pirates shot and injured a crew member .