at the end of 1773 , about the same time that the patriots , including robert and hugh , were dumping tea into boston harbor , ellison mccoy retired and named alex his replacement as commander of the maryland rangers .