The official website for The Settlers of Catan

Question about The “Age of Enlightenment” Expansion Shipyard - May I use the Shipyard to trade lumber or wool I don't apply to ship building?

Answer

Yes - what you do with those resources is up to you. For example, you can use the wool to send your thieves on a "shopping spree."