A sudden surge of excitement and hyperactivity in cats can often be attributed to pent-up energy, hunting instincts, or the presence of stimulating scents.

If your cat suddenly becomes hyperactive, it could very well be due to an excess of energy. Providing them with toys and interactive play sessions is crucial to help them expend this energy and reduce their hyperactivity. Regular playtime will keep them happy and calm.
A cat's sudden burst of craziness can also be a display of their inherent "hunting behavior". When cats spot moving objects like cockroaches, spiders, or other insects within their home, their hunting instincts are triggered. These behaviors are often overlooked by their owners, making it seem as if the cat has suddenly gone wild. It's a natural part of their feline nature.
Moreover, strong and stimulating scents, such as mint, can cause a cat to become overly excited. These scents can stimulate their cerebral cortex. When they encounter such scents, it's vital to keep them from running around to prevent any accidents and allow them to calm down over time.
Finally, cats that have been confined for extended periods can exhibit intense excitement upon being released. This is a natural physical and emotional release that is often difficult for them to control. Providing ample space and regular access to the outdoors (or supervised indoor enrichment) is key for their happiness and well-being. To maintain a happy, balanced cat, ensure they get plenty of mental and physical stimulation.