@anon16968-- It sounds like you were engaged in "contra trade" which is not directly related to contra accounts. Contra accounts are sometimes used for trade purposes instead of a regular money account if the item that is being traded does not have marketable value. It may also be the case that the trade has already taken place on paper and is accounted for in the list of contra accounts. Therefore, the actual exchange takes place without a re-transfer of money.
If the above circumstance does not apply to your situation, you might require a new stock certificate transfer in your name from the company to regain your stocks.