He had qualified as a doctor but early relinquished the profession of medicine , and lived at home while pursuing literary ambitions ; though his verses never had any marked success .
He gave up a career as a doctor to pursue being a writer .