What do you understand by electricity at rest ?
When the charges are not allowed to flow are termed as static electricity, i.e., the electricity at rest.