it was campaigns such as these which won nelson his promotion and the following april he hoisted the flag of rear admiral of the blue and set out on a new mission to spearhead a seaborne assault on the garrison of porto ferrajo .