That depends on the changes. Some changes, such as morphing the entity in a different model, can only be taken back by re-morphing it. For most changes you can just copy the relevant part of the ENTITY struct in atypes.h into a temporary struct, and then copy it back.