they never did take the town , but the williamite general , a dutchman named ginkel , cleverly went downriver a bit-the shannon 's navigable for most of its length-crossed there , and came round behind the jacobites , flushing them out .