Open Shared → Links and switch the link off, or delete it. The URL stops working immediately for everyone who has it.
What revocation cannot do is un-download a file. Anything already saved to somebody's device stays on their device. This is stated on the sharing screen rather than only here, because it is the one thing people expect revocation to do that it cannot.