The Beating Retreat ceremony finds its roots way back in 1690 when the ceremony used to signify the disengagement of the troops and an end to a battle at sunset.