A ratón is a mouse. A rata is a rat. But for Spanish sailors of the time, a ratón was a rocky patch fronting a bay or inlet.
Boca actually means a bay or inlet, or the “mouth” of a river, a term we still use in English.