I have been towed in and I have had to sail to a dock. You stop yourself the same way; with a dock line attached to a stern cleat. Then get a centreline tie on to the dock.
ISPA Yachtmaster Offshore Instructor Evaluator
Sail Canada Advanced Cruising Instructor
IYT Yachtmaster Coastal Instructor
ASA 201, 203, 204, 205, 206, 214
As I sail, I praise God, and care not. (Luke Foxe)