he did not think they would hang him : this was not a battlefield offense , and the circumstances offered some excuse , but he would certainly have been dismissed the service if he had still been in the navy .