The example of an object with potential energy is:
a book sitting at rest up on a shelf.
This is because potential energy is stored energy due to an object's position or configuration. In this case, the book has gravitational potential energy due to its height above the floor.