My advise would be to enjoy the gardening leave and don't take it personally. However, I think (not 100% sure) that to be told to go on gardening leave you must agree to it or there should be a clause in your contract to the effect that you may be required to go on gardening leave if you resign...