Possible meanings are 1) he took aim to shoot a soldier without knowing that it was Ahab or 2) he drew his bow to shoot without any specific target in mind.