It depends on how you purchased your vehicle. If you were financing your vehicle, I do not believe you will receive any refund. It is usually part of your vehicle's financed monthly payment. The coverage that gets paid for (monthly) is used that same month. If you paid for your vehicle and your gap insurance policy in full, you will need to contact the company you purchased the policy through to see if there is any unused premium which needs to be refunded back to you. If your vehicle gets totaled, the insurance company will only pay what your vehicle is worth (its actual cash value), and this takes your vehicle's depreciation into consideration. If you owe more to your finance company than what your vehicle is worth, a 'gap' is created. Gap insurance is meant to cover that resulting gap.
If your insurance rates increase when you trade-in your vehicle, you can click here to find progressive auto insurance quotes for new vehicles.