▁vessels , ▁beginning ▁with ▁his ▁child hood ▁education ▁at ▁De pt ford ▁D ock yard ▁where ▁his ▁uncle ▁Adam ▁was ▁a ▁master ▁ship builder . ▁During ▁his ▁naval ▁service ▁he ▁participated ▁in ▁the ▁first ▁and ▁the ▁last ▁significant ▁fr ig ate ▁actions ▁of ▁the ▁French ▁Revolution ary ▁and ▁Napole onic ▁Wars , ▁from ▁the ▁incon clus ive ▁eng agement ▁between ▁Em bus cade ▁and ▁HMS ▁Boston ▁in ▁ 1 7 9 3 ▁and ▁the ▁capture ▁of ▁USS ▁President ▁in ▁ 1 8 1 5 . ▁After ▁the ▁war ' s ▁end , ▁Hay es ▁was ▁appointed ▁as ▁super int endent ▁of ▁H M NB ▁Dev on port ▁and ▁later ▁was ▁commander ▁in ▁chief ▁off ▁West ▁Africa . ▁ ▁Life ▁John ▁Hay es ▁was ▁bapt ised ▁on ▁ 2 2 ▁Jan . ▁ 1 7 6 8 ▁at ▁St ▁Nicholas , ▁De pt ford ▁in ▁Kent , ▁the ▁el dest ▁son ▁of ▁George ▁Hay es , ▁" Master ▁Bo at ▁Bu ilder ▁of ▁Union ▁St " ▁and ▁his ▁wife ▁Elizabeth ▁( Sim pson ). ▁His ▁father ▁died ▁in ▁ 1 7 7 9 . H is ▁great - un cle ▁was ▁Adam ▁Hay es , ▁Master ▁Sh ip builder ▁at ▁De pt ford ▁D ock yard . ▁Adam ▁Hay es ▁ens ured ▁that ▁his ▁great - ne p hew ▁was ▁entered ▁on ▁the ▁books ▁of ▁various ▁ships ▁from ▁the ▁age ▁of ▁seven : ▁this ▁legal ▁loop hole ▁allowed ▁John ▁Hay es ▁to ▁develop ▁necessary ▁senior ity ▁without ▁actually ▁serving ▁at ▁sea . ▁Instead ,