sarah was not certain what her trouble was , but the symptoms included long periods of silence and short ones of intense agitation , during which she had to be confined or restrained because of an urge to wander .