For instructions on how to shrink the TempDB, refer to the Microsoft Knowledgebase Article (ID 307487): How to Shrink the Tempdb Database in SQL Server.

Note: We provide links to third-party websites in an effort to help you resolve your issue. We are not responsible for the information on third-party websites, and we cannot assist with implementing resolutions from these websites.

Stop and restart the SQL database engine (BB95036). Stopping and restarting SQL Server clears and recreates the TempDB file.