he had the natural talent of being liked and respected by both his peers and subordinates alike , and so he finally ended his naval career as the senior air engineering officer of the small ships flights parent squadron at portland .