Put it just before the moment of full detection, after sneaking footsteps and before the chase begins. Follow it with Enemy Spotted when suspicion turns certain, then a danger alarm if the guard gives chase, so the sequence builds from warning to escape.