Of course--it is now CANCELLED, and can never be used again. Your new passport is your only travelling document now, but if you do not get your Marriage visa/extension transferred into the new passport, then the old passport can be shown as proof of when you arrived in Thailand (as your TM6 is tied to that passport and they'll stamp you out on the new passport), but as someone else mentioned if you come back to Thailand, then you will need to start the Non-O nonsense from scratch again.