Captain Innes, Royal Artillery, Gibraltar