The remanent magnetisation and energy of spin glasses