When I started sailing on a square rigged ship the captain recommended Harland's book to the crew. It is an excellent reference. Just to add several suggestions for US history:
Ian Toll's "Six Frigates" is an excellent book about the building of the US 44 gun "super frigates". For a more strategic out look I would recommend George Daughan's books. "Revolution on the Hudson" may not be about the sea but the important effect of a large waterway nevertheless.