Signal-Close Action! by Alexander Kent
The year is 1798. Napoleon's naval forces are amassing in the Mediterranean, preparing to annex Egypt, and it is there the newly-promoted Commodore Richard Bolitho is sent with a small squadron of ships under his command.