Unfortunately however there are no records with death in 1840.
https://www.findagrave.com/memorial/search?firstname=George&lastname=Rowe&deathyear=1840&location=Maine%2C+USA&locationId=state_23