Yes, most New York passes can be cancelled before travel, provided they have not yet been used. The New York Pass and Explorer Pass, for example, have a money-back guarantee of around 30 days from purchase (as long as the pass hasn't been activated). Within this period, you can cancel the purchase and get your money back.
The CityPASS can also be cancelled, but with different conditions – for example until shortly before travel, depending on where you bought it. Important: Once you have activated or used a pass, a refund is normally excluded. When in doubt, check the exact cancellation rules on your pass provider's website.