It's strange one. Having had sight of the record, it shows William Moore O'Connor signing on at HMS Ajax on 18 June 1861 as a B2C, and nothing about him thereafter. I can't find any other Royal Navy record for him.
Cross-checking on the RN Register of Seamens' Services, the only person who signed on for Ajax as B2C on 18 June 1861 was a James Montgomery.