Once the log claims disk space the only way to get it back is to shrink. Checkpoints and truncation will free up space within the log file (now available for future use by the log) but the actual footprint of the file on disk stays the same.
Read these articles for good information not only about how this works but the pro's and con's of messing with it. Most DBA's would agree that shrinking is not a good idea in most normal cases (as you eluded to in your question).
There were some replication-related objects remaining in the database, even after removing the replication.
To remove the replication from the database, sp_removedbreplication can be used. But it didn't work for us as replication was not active at the time and actually replication had been removed long before.
The solution was to import the database contents to another database using the import option of SQL Server.
Best Answer
The actual syntax you want is:
5120mb is a 5GB data file. Be advised, shrink the file could take 30 seconds, or 30 hours. There is no way to tell. e