Cancelling actions

Can there be a way to cancel actions. The amount of times I’ve simply misclicked and had to wait a day to do what I intended to in the first place is a grievance that could be solved pretty easily with a ‘cancel action’ button.
Link