To produce or invent something (such as an idea, excuse, or result) suddenly or with little preparation; to improvise in a way that may seem baseless or contrived.
2.
British Englishvulgarslang
(Regional usage) To cease being idle or to make a determined effort; colloquially, to get moving or apply oneself.