 He was born in the Headmaster's house and, despite the early death of his father, continued to attend the school until 1777 when, aged 12, he entered the Royal Navy as a "young gentleman" on Captain Joshua Rowley's ship, .He was commissioned as a lieutenant in 1783.He served primarily in the Caribbean and observed at first hand the brutality and inhumanity of the slave trade.