When you share a link out to edit externally a document can you shut down access after a bit?

Yes the end user can create and enable links for external sharing in office 365.  To disable they need to go to the individual document and turn it off manually.
You can also automatically control access with Azure Rights Management to automatically expire access to the document.
This feature is part of the Microsoft Enterprise Mobility Suite which is a recommend add-on, or you can manually change the permissions to stop access.

Microsoft Office 365 Blogs

There’s one question that has plagued IT departments for years: should we move to the cloud or stay on-premise? The post Why the cloud vs on-premise...
If your organisation runs SharePoint 2010 or 2013, you’re probably curious about the next on-premise SharePoint version: SharePoint 2016. The post...
Let’s take a look into the lives of two high-powered sales executives, Martha and George. The fictional pair have never met, but they do have a lot...