Maritime law. A contract, in the nature of a mortgage of a ship, on which the owner borrows money to enable him to fit out the ship. (Bouvier's Law Dictionary, 6th Ed.)
The idea, evidently, was that the keel, or bottom, of the ship would serve as security for the loan. Very few lawyers today specialize in bottomry, or if they do, they don't advertise it.