TARP was created during the 2008 financial crisis to provide capital to banks in exchange for dividend-paying shares.
The Treasury still holds a warrant to purchase shares of Annapolis Bancorp's common stock, the company said Wednesday.
Pennsylvania-based F.N.B. Corp. announced in October that it would acquire Annapolis Bancorp in a stock-swap deal valued at about $51 million. Annapolis Bancorp shareholders will meet April 4 to vote on the proposed acquisition.