Sorry to hear about your crash. I don't know about Ontario, but the provincial car insurance company here in BC (ICBC) requires specific coverage for aftermarket equipment AND proof of purchase when you make a claim. Otherwise they'll reimburse only up to a specified limit based on the car's OEM equipment.
As for extended warranties and such, I don't think the dealer is required to give those funds back unless it's specified in the contract or by law.
This is from ICBCs FAQ page:
"Excess Special Equipment Endorsement
For most passenger and light commercial vehicles, you can buy extra insurance for non-manufacturer's equipment that you have permanently installed in the vehicle.
With this endorsement, you can insure non-manufacturer's equipment worth more than $5,000, or sound and communication equipment worth more than $1,000.
Keep your receipts!
For any special coverage, keep your receipts or bills of sale as proof of the value of your equipment. Photos can also be helpful to prove that it was installed in the vehicle.
Declaring the value of equipment
Please be aware that the Excess Special Equipment Endorsement is not a replacement cost policy. What the policy does do is increase the underlying $1,000/$5,000 limits for stereo and other non-manufacturer's equipment to the limit that you declare.
Unless you have a Replacement Cost or Limited Depreciation policy in place, ICBC will pay out any total loss or theft claim based on the market value of the vehicle with its attached equipment. Adding an expensive stereo, custom paint finish or other equipment may increase the market value of the vehicle to some degree, but not necessarily by the original cost of the equipment. Equipment value also depreciates over time. Please review your declared limits each time you renew your Excess Special Equipment Endorsement to ensure the value you've declared is realistic."